mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-03-09 07:13:35 -05:00
Bug: Arbitrary order of tasks not persisted #84
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 @refactoriel on GitHub (Sep 17, 2022).
In the frontend tasks can be arbitrarily ordered via drag and drop. Upon reload of the page the task order is back to sorted by creation. Maybe the manual ordering is not propagated to the backend?
Otherwise great app, enjoying working with it 😀
@refactoriel commented on GitHub (Sep 17, 2022):
I increased log level to DEBUG and found the following. Dragging a task to another position successfully leads to a POST request. Unfortunately, I couldn't see the payload. The UPDATE statement to the database seems a little weird: The position values are
0at some target locations and huge integers at others (this is in a list with 4 items).@kolaente commented on GitHub (Sep 20, 2022):
The huge integers is what it should be. This allows putting a list between two others without needing to update every single one of them.
Can you reproduce this on try?
Is this your issue? https://kolaente.dev/vikunja/frontend/issues/2119#issue-7584
@refactoriel commented on GitHub (Sep 21, 2022):
On try it works. So it's probably fixed in the latest.
I'm running the latest versioned image, i.e. 0.19.1. Any ETA on when this fix will be available in a version?
@kolaente commented on GitHub (Sep 21, 2022):
No real ETA but there will be a version in the next few weeks.
I'll close this as fixed in the development branch, please ping if you have other issues.
@refactoriel commented on GitHub (Sep 21, 2022):
I now actually tried the
latestdefined bysha256:4aeda57e0037e9f2db56f5706b7232c4252671657e74d35b9aa65feeac121d0f.The issue is still there :(
Any ideas how I can debug it on my setup?
@kolaente commented on GitHub (Sep 21, 2022):
If you want to run the lastest unstable build, you'll need to use the
unstabletag.A bit more info in the docs: https://vikunja.io/docs/versions/
@refactoriel commented on GitHub (Sep 21, 2022):
Turns out that it had already been fixed in the versioned image that I had used. Somehow my installation was broken, probably because I had imported a mysqldump from a test installation. Awesome that there actually is an export and import functionality. Makes it super smooth!
sorry for the noise