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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3415088-update-field-correct-language-2.patch | 1.56 KB | bogdan.racz |
Issue fork editablefields-3415088
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
Comment #2
bogdan.racz commentedPlease review.
Comment #5
gilmordMerged in dev version
Comment #6
gilmord