Georg Lehner 25c36a6f5c Restrict ticket selection for dependencies and parents
When adding a dependent or parent ticket, the choice field in the
ticket selection form excludes:

- All existing dependencies of the current ticket.
- All existing parent tickets of the current ticket.
- The current ticket itself.

The first two prevent immediate circular references: A dependency
cannot be a parent and vice versa.  Deeper circular references are
not covered by this: a ticket can still be its own grandchild.

They also prevent current behavior of throwing an `IntegrityException`
when selecting a dependency or parent.

The third one prevents also a quirky behavior: until now, specifying the
ticket itself as parent or dependency just does not save the
dependency and does not issue a warning either.
2024-06-08 12:11:01 +02:00
..
2022-07-12 12:34:19 +02:00
2024-04-22 18:38:59 +02:00
2024-02-01 16:28:26 +01:00
2022-07-22 03:26:41 +02:00
2022-07-22 03:26:41 +02:00
2023-12-03 00:34:29 +00:00