Unable to add task to project

I have noticed recently some of my projects seems to be completely frozen. I can not add new entries to them. Error message from console is as follows:

2023-08-08T22:17:47.5815496+02:00: ERROR        ▶ handler/CreateWeb 46a3 Bucket does not not belong to project [BucketID: 0, ProjectID: 9]
2023-08-08T22:17:47.5815496+02:00: WEB  ▶ 127.0.0.1  PUT 400 /api/v1/projects/9 1.5035ms - Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) vikunja-desktop/0.21.0 Chrome/114.0.5735.134 Electron/25.2.0 Safari/537.36
2023-08-08T22:17:48.455074+02:00: WEB   ▶ 127.0.0.1  OPTIONS 204 /api/v1/notifications?page=1 0s - Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) vikunja-desktop/0.21.0 Chrome/114.0.5735.134 Electron/25.2.0 Safari/537.36
2023-08-08T22:17:48.4571014+02:00: WEB  ▶ 127.0.0.1  GET 200 /api/v1/notifications?page=1 589.7µs - Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) vikunja-desktop/0.21.0 Chrome/114.0.5735.134 Electron/25.2.0 Safari/537.36

I can not move already existing entries to these projects either (same error message).

Can you reproduce this on try?

I think I have been able to replicate it.
At the time I tested it, projects were as follows:


Creating tasks in Test list, newproj, Test and vosgiennes or moving tasks to these projects worked fine.
Trying to create a task or move one from another project to demo (which was empty) resulted in “The bucket does not belong to that project” error as in my original message.
test only has the "“create task” button in Gantt mode but failed with a different error: “The project does not exist”. Seems to be a different/separate issue.

Does the project where you can’t create/move tasks have a kanban bucket? If not, did you remove it or did it just “disappear”?

None of the affected projects (2) have a kanban bucket, and they do not have the option to add one. I can’t say with 100 % certainty, but I do not think I deleted them. Both are wrappers (containers for sub-projects) and were left empty/unused until I started trying to use them directly very recently - I’d say mid-July.

That sounds like a bug. I’ll look into a fix.

Hello,

i have the same error, the task was created by another user and i can’t move it to “my_project”
ticket created under list : “task title” +ADD, nothing else

Now i delete “my_project” (it was created with “main_project” menu […] create project )

Then i go to the Top-Menu “Projects” [ + NEW PROJECT ]
Title : my_project
Parent Project : main_project
[ + CREATE ]

Now i can move the ticket to “my_project”