After bumping entity api to the latest stable version the unpublishing functionality stopped working correctly. I currently have 2 sites that are using the same versions of workbench_moderation, scheduler, and scheduler_workbench with the same patches applied to both, the only difference is that Entity API is 1.1 and 1.2 respectively. The site running 1.1 works perfectly as expected, but the one running 1.2 causes the unpublish action to create a new draft revision and leave the published revision published. Not sure whether this should go in the Entity API queue or not, it seems as though Entity API likes to break other module functionality.

Comments

acbramley’s picture

Title: Unpublish does not function correctly with entity api 1.2 » Unpublish does not function correctly with "Create a new revision on unpublishing"

Apologies, I missed the "Create a new revision on unpublishing" which another developer had enabled which was causing this. Maybe scheduler_workbench should disable this setting completely?

ladybug_3777’s picture

Issue summary: View changes

Ah interesting. I was just coming here to report this same issue! I can confirm that the "Create a new revision" option during publishing is the culprit!

figtree_development’s picture

removed

figtree_development’s picture

StatusFileSize
new71.38 KB

removed

figtree_development’s picture

'm running entity 1.4 and experiencing the same issue. "Create a new revision on un-publishing", creates a new version but doesn't un-publish the content.

my settings:
settings

rooby’s picture

The patch in #2230539: Using Workbench Access/Moderation, Scheduler does not unpublish. claims to also fix this, although that ticket has a slightly different focus.