brightspot-cms
brightspot-cms copied to clipboard
Unscheduling draft removes "currentState" data from State
If we have a draft in a workflow, where the workflow state equals "Pending Approval" ("cms.workflow.currentState" : "Pending Approval" in the content state), then schedule the draft, and then unschedule the draft, the "currentState" data is removed from the state. When you initially schedule the draft, the data is still there in the state, as expected. It is not until it has been unscheduled that the data is removed. It seems as though it should still maintain the data that says it is in the workflow state. We can get the data back in by cycling back through the workflow, but that is not the desire, as a user will not know to do that.