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

Closed
opened 2026-03-22 13:45:37 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @chadcrum on GitHub (Jan 22, 2024).

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

Originally created by @chadcrum on GitHub (Jan 22, 2024). ### 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](https://github.com/go-vikunja/frontend/assets/1462069/f3bfa6ee-6b46-4a24-beeb-2af5dc2b345f)
GiteaMirror added the bug label 2026-03-22 13:45:37 -05:00
Author
Owner

@kolaente commented on GitHub (Jan 26, 2024):

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

@kolaente commented on GitHub (Jan 26, 2024): Fixed in [33a47b7f43](https://kolaente.dev/vikunja/api/commit/33a47b7f4382a29b205ce2b80c28110eb4411063). Please check with the next unstable build (ready in ~40min)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#1906