go-vikunja / vikunja

Mirror of vikunja from https://code.vikunja.io/api
GNU Affero General Public License v3.0
758 stars 55 forks source link

After deleting the done bucket, no task in the project can be done #234

Closed onichandame closed 3 months ago

onichandame commented 3 months ago

Description

image I created a bucket in a project, mark it as the done bucket. then delete the bucket. now I cannot mark any task in the project as done. the logged error message is shown above. the user interface is bugged as well.

After digging the database, I see that the done_bucket_id column in projects is not cleared after deleting the bucket. However I don't have an idea how it can be fixed as I am new to the codebase.

Vikunja Version

0.23.0

Browser and version

No response

Can you reproduce the bug on the Vikunja demo site?

Yes

Screenshots

https://github.com/go-vikunja/vikunja/assets/23728505/7e9ef647-5faa-4ea7-919b-019d8692fd72

I keep clicking 'mark as done' button but nothing happens

kolaente commented 3 months ago

Fixed in https://github.com/go-vikunja/vikunja/commit/5b2b7f7bdc2e03f011bcee5404ef8308d689dcc3, please check with the next unstable build (should be ready for deployment in ~45min, also on try).

onichandame commented 3 months ago

@kolaente Thx! I can confirm that it is fixed on the demo site. in which stable version will the fix be released?

kolaente commented 3 months ago

In the next release, coming in a few weeks.