Dropdown Selection is wrong for translation node

Created on 19 November 2020, over 4 years ago
Updated 22 March 2024, about 1 year ago

Problem/Motivation

When you try to add a scheduled transition to a translation node (not the source one) the transition dropdown has wrong options. It always get the transitions options from the source node.

Steps to reproduce

  • Create a node with a source language and publish it.
  • Create a translation and create two or three revision with different state
  • Go to the schedule transition page and add a new one
  • Select a revision with a different state than publish

The dropdown menu will be fill with transition from publish to something else where it should be the one from the translation.

Proposed resolution

The ScheduledTransitionAddForm class should translate the entity before getting its transitions

🐛 Bug report
Status

Needs work

Version

2.4

Component

Code

Created by

🇫🇷France churel

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