In the EditableFieldsForm::submitForm the entity is reloaded but the language is not preserved.
So we need to make sure, we update the respective translation of the entity.

Additionally, as we can do multiple updates on the same entity for just a specific field, we should not create a new revision every-time, hence the addition of $entity->setSyncing(TRUE); before the save.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

bogdan.racz created an issue. See original summary.

bogdan.racz’s picture

Status: Active » Needs review
StatusFileSize
new1.56 KB

Please review.

gilmord made their first commit to this issue’s fork.

gilmord’s picture

Status: Needs review » Fixed

Merged in dev version

gilmord’s picture

Status: Fixed » Closed (fixed)