- Issue created by @Rob230
- 🇧🇷Brazil adrianopulz Florianópolis
I'm facing the same issue with the unpublish action. Checking the logs all looks good, Drupal CRON runs and the message is that the node was unpublished, but the node is still published.
- 🇬🇧United Kingdom jonathan1055
Hi Rob230 and adrianopulz,
Are you using the Scheduler Content Moderation Integration → module? This is a necessary requirement for the functionality to work. If this is the case, just install that module and you will be fine.This is explained on the Scheduler front page, but I wonder if there is some way that Scheduler could detect that scheduling is being attemped on content that is moderated and the content moderation integration module is missing. Then we could give a helpful message.
- 🇬🇧United Kingdom Rob230
Thank you that has solved it. I did think there must be a module but I assumed it would be a submodule so just checked on the Extend page.
Perhaps a warning could be a good idea.
- 🇬🇧United Kingdom jonathan1055
Thanks for the feedback, very pleased this solved your problem.
I will try to work out a good way to point people to SCMI. For historical reasons it was developed as a separate module to allow another set of developers to have full control of it, at a point when I could not take responsibility (being the sole active maintainer of Scheduler).
One option would be to create a dummy sub-module within Scheduler, that users would find when they go to the 'extend' page like you did. This would have no active source but just a dependency on the actual Scheduler Content Moderation Integration module. If the site also has Module Filter → installed then the missing module name will be converted into a link ✨ Create an outgoing link on missing modules Fixed to the drupal.org project page.
Another option would be to detect when moderated content is being edited and scheduling is enabled but SCMI is not enabled, and give a message.
- 🇧🇷Brazil adrianopulz Florianópolis
Thanks jonathan1055! That has solved the problem.
I didn't see that on the home page, I went direct to the issues list... A message when the Moderation module is enabled will be very helpful.