- Status changed to Needs review
almost 2 years ago 1:41pm 20 March 2023
1. Configure one or more scheduled states.
2. Create content in a state that is not in the scheduled state list, and schedule it for publishing.
3. At schedule time, the node is published, but shouldn't be.
We validate the transition in onPrePublish, but have no way of aborting the execution of the remaining scheduler.module publish() function.
We need to implement hook_scheduler_scheduler_allow_publishing() so that when publish() calls isAllowed, we check the transition there, and return FALSE if it's not allowed.
Needs review
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.