While working on #2315773: Create a menu link field type/widget/formatter the following problem was observed:

  • Added a content type with a translatable field
  • Mark the "parent" column as non translatable
  • Added a new content with setting the parent to ""
  • Translate the content to the other language
  • Expected behaviour: The translation can be used as expected. The original translation will be untouched.
  • Actual behaviour: The original field item is dropped

Proposed resolution

Fix the field synchronization part.

Remaining tasks

User interface changes

API changes

Data model changes


dawehner created an issue. See original summary.

dawehner’s picture

Here is a test + a fix. Not sure whether this is the best approach.

dawehner’s picture

I'd argue this is borderline critical. I saw data being lost, even it might be an edge case.

dawehner’s picture

Status: Active » Needs review

The last submitted patch, 2: 2861367-test.patch, failed testing.

Status: Needs review » Needs work

The last submitted patch, 2: 2861367-2.patch, failed testing.