mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-03-09 07:13:35 -05:00
Filter Bucket Configuration migration issues #651
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Mattiam2 on GitHub (Oct 1, 2025).
Description
After migrating from v0.24.6 to v1.0.0-rc2 the projects don't load if at least one projects has a kanban view with bucket configuration set to "Filter".
Debugging I discovered that in v0.24.6 the bucket_configuration column in project_views table was in this form:
[{"title":"Done","filter":"done = True"}]While in v1.0.0 it's now in this form:
[{"title":"Done","filter":{"s":"","sort_by":null,"order_by":null,"filter":"done = true","filter_include_nulls":false}}]The migration 20250323212553 needs to update also the bucket_configuration column in the same way it does with the filter.
If I have time I'll do a pull request.
Vikunja Version
v1.0.0-rc2
Browser and version
No response
Can you reproduce the bug on the Vikunja demo site?
Yes
Screenshots
No response
@Mattiam2 commented on GitHub (Oct 1, 2025):
Update, in migration 20241119115012 this conversion was done but only if bucket_configuration_mode = 2.
If someone in the past put a filter and then decided to revert back to "Manual bucket configuration", the "bucket_configuration" field would stay filled. That's why the issue occures.
@kolaente commented on GitHub (Oct 1, 2025):
Fixed in
67ebd876d3, please check with the next unstable build (should be ready for deployment in ~30min, also on try).