1. If you enable Scheduler module
  2. Set the 'Enable scheduled publishing for this content type' for a content type
  3. Enable Scheduler workbench.

Then the Moderation State is not set. There is no scheduler_publish_moderation_state_' . $node->type variable set. This is the same thing for unpublished

On the content type edit form it, the variable get defaults to workbench_moderation_state_published() for publishing and workbench_moderation_state_none() for unpublishing.

The patch in #1660252: Publishing transitions twice through draft calls the same variable however defaults to FALSE. This breaks the revisioning workflow.

Similarly, this also breaks if you save the scheduler module variable to a feature, but not the scheduler_workbench variables.

Comments

istryker’s picture

istryker’s picture

Status: Active » Needs review
Related issues: +#2230539: Using Workbench Access/Moderation, Scheduler does not unpublish.

Code is fixed in #2230539: Using Workbench Access/Moderation, Scheduler does not unpublish.. Usually I would create a separate patch, but the patch 10 in #2230539 stomps all over a separate fix.