As a tracker admin, given I had defined a workflow with transitions and post actions on those transitions
and given the workflow is disabled (with warning "Transition rules don't apply yet")
Then the post actions I defined will apply anyway.
For example, when I switch from status "New" to status "On going", I have a post action that sets a float field named "Remaining effort" to 1. Even when the workflow is disabled, when I edit an artifact and switch its status from "New" to "On going", its field "Remaining effort" will be set to 1.
They should not apply because the workflow is supposed to be disabled.
We choose to do not break existing behaviour for the concerned workflow, so when workflow is disabled:
- if it does not have any post action we migrate automatically workflow to new behviour (aka when workflow is disabled not transitions are applied)
- if it has at least one post action transition, the workflo is nt migrated and keeps its old behaviour