Due to techinal debt donor states are represented (both in the database and internally) as string constants. This should be changed to class name constants from respective class. Change when we update all the state names. Affected places include:
Extensive use in ClassIdExtractor in state namespace.
Conversion in ForceStateHandler.
Double algorithm in StateCollection.
Setup in WorkflowConfigurator and donor_states.yaml.
Due to techinal debt donor states are represented (both in the database and internally) as string constants. This should be changed to class name constants from respective class. Change when we update all the state names. Affected places include:
ClassIdExtractor
in state namespace.ForceStateHandler
.StateCollection
.WorkflowConfigurator
anddonor_states.yaml
.