- Issue created by @Yogesh Kambari
- 🇮🇳India Yogesh Kambari
Submitting below patch to unblock the scheduler flow in my project.
The publish_state and unpublish_state values are coming up empty. This issue prevents content from being scheduled correctly based on moderation states. ( I can see "publish_state" and "unpublish_state" fields are present for entity)
1) Install and enable Scheduler and Content Moderation modules.
2) Configure workflow settings (Add Moderation states, Transitions and Content type for which we need scheduler support)
3) Create a new node of that content type and:
4) Wait for the scheduled date to pass.
5) Run the cron job from UI.
6) Check the node’s status; it remains unchanged instead of being published/unpublished.
7) On debugging it is observed that "publishe_state" (in scheduler_content_moderation_integration_scheduler_publish_process) and "unpublish_state" (in scheduler_content_moderation_integration_scheduler_unpublish_process) are always coming empty.
Active
2.0
Code
Submitting below patch to unblock the scheduler flow in my project.