- Status New
- Percent Complete
- Task Type Bug Report
- Category Backend/Core
- Assigned To No-one
- Operating System All
- Severity Medium
- Priority Medium
- Reported Version 1.0 devel (github master)
- Due in Version 1.0
-
Due Date
Undecided
- Votes
- Private
Attached to Project: Flyspray - The bug killer!
Opened by peterdd - 07.11.2015
Last edited by peterdd - 18.11.2016
Opened by peterdd - 07.11.2015
Last edited by peterdd - 18.11.2016
FS#2089 - adding same taskid as subtask or related task should be denied
Both is a bit illogical, but both is currently possible!
1 ←- 1
So when setting the parent task id checked for creating loops is needed:
Loop with 2 tasks: 1 ←- 2 ←- 1
Loop with 3 tasks: 1 ←- 2 ←- 3 ←- 1
Loop with n tasks: 1 ←- ... ←- n < – 1
As I think there are currently no recursive reads that could lead to an endless loop, but should be kept in mind when someone wants to programm rendering a gantt chart.
E.g. by limiting the depth of subtasks for example.
This task is a sub task of FS#2089 - adding same taskid as subtask or related task should be denied
ID | Project | Summary | Priority | Severity | Assigned To | Progress | |
---|---|---|---|---|---|---|---|
2089 | Flyspray - The bug killer! | FS#2089 - adding same taskid as subtask or related task should be denied | Medium | Medium |
This screenshot is just to answer the question on the mailing list asking where the user interface for parent/subtasks is within Flyspray 1.0*
fixed 'task_id == parent_id' issue in github master.