go-vikunja / vikunja

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

Tasks should only be able to be added as a sub-task once to a parent task #123

Closed chadcrum closed 5 months ago

chadcrum commented 5 months ago

Description

I'm able to repeatedly add the same task as a sub-task to a single parent task. I refreshed and the repeated subtasks remain.

The example screen shot shows the same task linked as a sub-task 3 times to a parent task.

I would expect that any sub-tasks for a parent are excluded from the list to add as a sub-tasks.

Vikunja Frontend Version

Frontend Version: 0.22.0 - sha256:298816ba5b44db814bba5a45f19a8ef6a9d52ac9826daf14fc5d5853dcef9cb6

Vikunja API Version

API Version: v0.22.0 - sha256:84bde8580e03cf0b41853597850d64471f8a43e5c1b46cecda95a0424b227d7c

Browser and version

Version 120.0.6099.224 (Official Build) (64-bit)

Can you reproduce the bug on the Vikunja demo site?

Yes

Screenshots

image

kolaente commented 5 months ago

Fixed in 33a47b7f43. Please check with the next unstable build (ready in ~40min)