Improper time filtering in "Next Week" and "Next Month" #11

Closed
opened 2020-12-23 19:19:05 +00:00 by TheTaoOfSu · 7 comments

Version: Arch Linux pacman package, downloaded 12/22/2020 and Windows .exe downloaded 12/23/2020
OS: Arch Linux, Windows 10, both 64-bit

This issue seems to occur identically on both clients. The exact behavior of the bug may have been different at one point, I think before a server restart, but I'm not sure if I'm remembering properly. Either way, the triggers seem the same. I'm beginning to wonder if this is actually a bug in the server responding to a request, but I cannot say for sure.

First, the trigger. It seems to occur when switching back and forth between the time filtered "Next Week" and "Next Month". When switching directly between the two, the displayed tasks do not necessarily conform to the defined filter. The two instances I have seen, the behavior has been incorrect, but it has been consistent once triggered. When coming from the "Overview" section where no filter is applied, everything is as expected. Going to this section seems to reset something and allow proper behavior on the next attempt.

So then the improper behavior. The first time I go to one of the "next..." views, it's fine. Then, if I start swapping between the two from there, it begins. They display the results of each other. Next week displays next month, and next month displays next week. Despite this, the tasks from X to Y time frame is accurate for the expected behavior. I think it was slightly different, but still very similar, before, but the more I think about it, the more I wonder if I'm mistaken, so perhaps this was it.

Version: Arch Linux pacman package, downloaded 12/22/2020 and Windows .exe downloaded 12/23/2020 OS: Arch Linux, Windows 10, both 64-bit This issue seems to occur identically on both clients. The exact behavior of the bug may have been different at one point, I think before a server restart, but I'm not sure if I'm remembering properly. Either way, the triggers seem the same. I'm beginning to wonder if this is actually a bug in the *server* responding to a request, but I cannot say for sure. First, the trigger. It seems to occur when switching back and forth between the time filtered "Next Week" and "Next Month". When switching directly between the two, the displayed tasks do not necessarily conform to the defined filter. The two instances I have seen, the behavior has been incorrect, but it has been consistent once triggered. When coming from the "Overview" section where no filter is applied, everything is as expected. Going to this section seems to reset something and allow proper behavior on the next attempt. So then the improper behavior. The first time I go to one of the "next..." views, it's fine. Then, if I start swapping between the two from there, it begins. They display the results of each other. Next week displays next month, and next month displays next week. Despite this, the tasks from X to Y time frame is accurate for the expected behavior. I think it was slightly different, but still very similar, before, but the more I think about it, the more I wonder if I'm mistaken, so perhaps this was it.
Owner

What server version are using? (You can get this information from /api/v1/info)

Can you reproduce this on https://try.vikunja.io?

What server version are using? (You can get this information from /api/v1/info) Can you reproduce this on https://try.vikunja.io?
Author

Server is on a Raspberry Pi, downloaded arm-7 last night, so v0.15.1. I pointed the client at try.vikunja.io and used the demo login, and it does, in fact reproduce the erroneous behavior.

Server is on a Raspberry Pi, downloaded arm-7 last night, so v0.15.1. I pointed the client at try.vikunja.io and used the demo login, and it does, in fact reproduce the erroneous behavior.
Owner

I wasn't able to reproduce this neither on try nor on my local version - see the attached video. Am I trying it correctly?

I plan on removing the buttons from the overview since they don't work anyway and I think they don't make sense on that page.

Could it be you're using the latest frontend (master) but a released api version?

I wasn't able to reproduce this neither on try nor on my local version - see the attached video. Am I trying it correctly? I plan on removing the buttons from the overview since they don't work anyway and I think they don't make sense on that page. Could it be you're using the latest frontend (master) but a released api version?
Author

Essentially, but my view is slightly different. I see Next Week and Next Month on the left under Overview. I have attached a screenshot. I just click one, then the other, back and forth, to alternate between the two. First click from overview is fine, any click from one to the other causes the bug.

Essentially, but my view is slightly different. I see Next Week and Next Month on the left under Overview. I have attached a screenshot. I just click one, then the other, back and forth, to alternate between the two. First click from overview is fine, any click from one to the other causes the bug.
Owner

Ah, that is the "old" view. Do you have the same problem with the latest dev version? (master) or on try directly?

Ah, that is the "old" view. Do you have the same problem with the latest dev version? (master) or on [try](https://try.vikunja.io) directly?
Owner

@TheTaoOfSu There's been a new version (0.16.0), do you still have the same issues with that?

@TheTaoOfSu There's been a new version (0.16.0), do you still have the same issues with that?
Owner

Closing due to inactivity, feel free to reopen if the issue persists.

Closing due to inactivity, feel free to reopen if the issue persists.
This repo is archived. You cannot comment on issues.
No Milestone
No Assignees
2 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: vikunja/desktop#11
No description provided.