Make this work with multilingual

Created on 2 October 2018, about 6 years ago
Updated 23 October 2023, about 1 year ago

When you don't have a translation for a piece of content, the scheduled update works beautifully. Unfortunately, once you add a translation everything really falls apart.

Steps to reproduce:
Create a piece of content without any translations.
Test different moderation state updates.
Observe that they all occur as desired.
Add a translation to that piece of content.

Try to add an update to the translation.
=> It doesn't save it.

Add some type of update to the source node. (I had both source and translation set to Draft and scheduled Published)
=> It saves it and it also shows up on the translation.
Run cron.
=> The update does not happen to the translation.
=> The update does not happen to the source, either.
=> The scheduled update is removed.

Add some type of update to the source node.
Edit the translation and save it without changing anything.
=> The update disappears from the source node.

I've also encountered another error in which I had previously scheduled a transition to draft on the source node. It no longer appeared as an update, though; I believe I had run it already. There is some sequence (which I can't recall how to reproduce) in which I do something like adding a translation and then the scheduled update to set to draft reappears on the source node. I had also seen that if I explicitly remove it from the source node, I can follow some sequence with the translation that causes it to appear again on the source node. Unfortunately, I always get caught off guard when this bug appears and can't recall what I had just done.

πŸ› Bug report
Status

Closed: won't fix

Version

1.3

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States vegantriathlete Lakewood, CO

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024