- Issue created by @dmitryl
Our website has content-scheduled publishing mechanics with content moderation workflow. When we run cron from /admin/config/system/cron
page (either the button or URL) we are getting two log entries per node: one for node, the other one for workflow. That is the expected behavior. However, if cron is triggered via drush cron
command, there are no log records generated for the transition. The reason is
if (PHP_SAPI == 'cli') {
// Ignore CLI requests.
return;
}
condition in admin_audit_trail_insert
Is it a bug or it works as expected?
1. Install
Scheduled Transitions →
module
2. Create a new scheduled transition for a node with a date in the past
3. Run drush cron
4. Verify that the node is updated with no Admin Audit Trail log entries
Active
1.0
Code