You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As noted in views.ApplicationStatusView, the logic for validating and applying state transitions should be encapsulated and direct updates to the status should be prevented.
An example why this is necessary is that models.get_legal_state_changes doesn't appear to allow applications to enter the ASSIGNMENT_PENDING or ASSIGNMENT states.
As noted in views.ApplicationStatusView, the logic for validating and applying state transitions should be encapsulated and direct updates to the status should be prevented.
An example why this is necessary is that
models.get_legal_state_changesdoesn't appear to allow applications to enter theASSIGNMENT_PENDINGorASSIGNMENTstates.stateDiagram-v2 [*] --> APPLIED APPLIED --> INVITATION_PENDING APPLIED --> INVITED APPLIED --> REJECTION_PENDING APPLIED --> REJECTED APPLIED --> WITHDRAWN INVITATION_PENDING --> APPLIED INVITATION_PENDING --> INVITED INVITATION_PENDING --> CONFIRMED INVITATION_PENDING --> WITHDRAWN INVITED --> CONFIRMED INVITED --> DECLINED INVITED --> WITHDRAWN REJECTION_PENDING --> APPLIED REJECTION_PENDING --> REJECTED REJECTION_PENDING --> WITHDRAWN ASSIGNMENT_PENDING --> ASSIGNED ASSIGNMENT_PENDING --> WITHDRAWN ASSIGNED --> WITHDRAWN CONFIRMED --> WITHDRAWNEnforcing the use of a setter method on the
Applicationmodel should fix this.