With Lightning Scheduler, we have the same scheduler widget applied to latest revision and hence all translation entities. If any node is scheduled for moderation change - it changes only that particular langcode revision but not the other languages.

We tried applying passing translation languages for scheduler to update the moderation state, however Scheduler saves the node with $entity->save() and that triggers new revision to be created. and hence it will still not work for translation revisions.

Proposed solution:

Comments

rakshith.thotada created an issue. See original summary.

rakshith.thotada’s picture

I am adding a patch here that considers not to create a new revision for changing the moderation state else the moderation update for translation wont work properly.
if we are using Drupal core 8.7.X - we need to use one more patch here - https://www.drupal.org/files/issues/2019-04-17/2803717-48.patch

rakshith.thotada’s picture

Issue summary: View changes
rakshith.thotada’s picture

Status: Active » Needs review
rakshith.thotada’s picture

rakshith.thotada’s picture

Status: Needs review » Needs work
rakshith.thotada’s picture

Status: Needs work » Needs review
rakshith.thotada’s picture

Assigned: rakshith.thotada » Unassigned
phenaproxima’s picture

Project: Lightning Workflow » Lightning Scheduler
Version: 8.x-3.x-dev » 8.x-1.x-dev
kaszarobert’s picture

Status: Needs review » Needs work

This needs a reroll and a test.

kaszarobert’s picture

kaszarobert’s picture

Status: Needs work » Closed (duplicate)

Okay, this is a multilingual issue, we will solve that in #3076530: Make scheduled moderation states work with multilingual.