-
-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Limit check for buckets seems broken #355
Comments
Does this happen only with filters? |
I only observed it with filters so far, yes. |
Does this happen only with bucket filters? I was unable to reproduce this with a saved filter and a manual kanban board. |
OK I'll do another reproduction attempt on a fresh installation here soon. |
A fresh account from https://try.vikunja.io/demo-account-create/ might work as well. |
Were you able to reproduce this? |
Please give me a few more days, too much other stuff to focus on Vikunja unfortunately :/ |
No worries! Happy to look into this again when you get to it. |
Description
I observed it multiple times that even though the amount of cards was well below the limit.
After checking the
task_buckets
table, I found 201 entries withbucket_id
95 even though said bucket only has 58 entries currently.After examining the list, I realized that there are also tasks that were
done = false
)and probably more.
AFAIU the reason I get the correct amount of cards is because the filter is evaluated each time. If this code would also rely on said table, I'd probably get all 201 entries.
To me this pretty much looks like several write operations don't have an update event for
task_buckets
.Also, it would be pretty neat if a migration could clean this table up when the bug gets fixed.
Vikunja Version
0.24.4
Browser and version
No response
Can you reproduce the bug on the Vikunja demo site?
Please select
Screenshots
No response
The text was updated successfully, but these errors were encountered: