Affects Version/s: 2.0-ALPHA4
Fix Version/s: None
Security Level: All
Currently the event architecture is fragile when used wrong. I already see lots of "bug reports" popping up on this issue due to people dont understanding what is doable and what is not.
How about we introduce an instance variable stage into the UnitOfWork and introduce an assertIsInStages($stages) protected method which is called ineach major command method of the UnitOfWork to verify its applied correctly?
Stages could be:
|Field||Original Value||New Value|
|Priority||Major [ 3 ]||Minor [ 4 ]|
|Workflow||jira [ 11039 ]||jira-feedback [ 13844 ]|
|Workflow||jira-feedback [ 13844 ]||jira-feedback2 [ 15708 ]|
|Workflow||jira-feedback2 [ 15708 ]||jira-feedback3 [ 17965 ]|