Tasks in multiple buckets of the same view #2285

Closed
opened 2024-04-21 19:18:27 +00:00 by waza-ari · 2 comments
Contributor

Description

In our instance we have a bunch of tasks which are in two tasks of the same project view. Essentially they show up multiple times in the Kanban view. In the database it looks like this:

Query: select * from task_buckets where task_id in (select task_id from task_buckets group by task_id, project_view_id having count(*) > 1) order by task_id;

image

In some cases there is also one task with two entries for the same view / bucket combination. This doesn't show twice in Kanban, but it still seems weird. Usually, moving an affected task around and hard refreshing the page helps, but I wonder where this is coming from.

Vikunja Version

unstable (v0.23.0+550-1f6a1f8ad4)

Browser and version

Firefox 125.0.1

Can you reproduce the bug on the Vikunja demo site?

No. I also haven't been able to reproduce it consistently in our environment. It sometimes happens under some circumstances.

Screenshots

No response

### Description In our instance we have a bunch of tasks which are in two tasks of the same project view. Essentially they show up multiple times in the Kanban view. In the database it looks like this: Query: `select * from task_buckets where task_id in (select task_id from task_buckets group by task_id, project_view_id having count(*) > 1) order by task_id;` ![image](/attachments/6097fa6f-6fc2-49f9-829c-63934cb02125) In some cases there is also one task with two entries for the same view / bucket combination. This doesn't show twice in Kanban, but it still seems weird. Usually, moving an affected task around and hard refreshing the page helps, but I wonder where this is coming from. ### Vikunja Version unstable (v0.23.0+550-1f6a1f8ad4) ### Browser and version Firefox 125.0.1 ### Can you reproduce the bug on the Vikunja demo site? No. I also haven't been able to reproduce it consistently in our environment. It sometimes happens under some circumstances. ### Screenshots _No response_
101 KiB
waza-ari added the
kind/bug
label 2024-04-21 19:18:27 +00:00
Owner

Are there any tasks where the task is in more than two buckets? Does this happen with new tasks as well or only with tasks which were created before the addition of view management?

There was one similar issue with this which should be fixed with 7b8fab33a5 but you're already running that.

https://community.vikunja.io/t/no-longer-able-to-properly-move-tasks-between-kanban-columns/2175

Are there any tasks where the task is in more than two buckets? Does this happen with new tasks as well or only with tasks which were created before the addition of view management? There was one similar issue with this which should be fixed with 7b8fab33a56cad4aa9e3fdf92453d97a25f1fe08 but you're already running that. https://community.vikunja.io/t/no-longer-able-to-properly-move-tasks-between-kanban-columns/2175
Author
Contributor

There are no occurrences with more than two, it's always exactly two. I have missed 7b8fab33a5, it might very well be related. The affected tasks (to the best of my knowledge) have been created before the introduction of view management. I'll fix the affected tasks manually and keep an eye on it, thanks!

There are no occurrences with more than two, it's always exactly two. I have missed 7b8fab33a5, it might very well be related. The affected tasks (to the best of my knowledge) have been created before the introduction of view management. I'll fix the affected tasks manually and keep an eye on it, thanks!
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
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/vikunja#2285
No description provided.