Closed a-tze closed 7 years ago
Creating a ticket with no available state for the particular ticket type seems kind of impossible. E.g. if you do this in an empty project, you get over div by zero but get a FK violation because there is no state available.
What is the expected behaviour? Failing silently would end up in an orphaned meta ticket, as long as there are at least meta ticket states enabled.
Ah, the locked state must be active. Now I can reproduce.
I have a project, where I haven't assigned any states to recording tickets since I don't need recording tickets.
The expected behavior would be skipping creating any recording ticket without throwing an exception.
Please confirm that "locked" is checked. Actually you should get the FK violation.
ACK on expected behaviour.
Fixed via changeset:e6f74988 and changeset:674cddb5e.
Issue migrated from trac ticket # 139
component: database | priority: major | resolution: fixed
2017-03-04 15:40:11: @pegro created the issue
When I try to create a ticket manually, this error message occurs:
In the current project all states for the ticket type "recording" are unchecked (unassigned)