Update field in the correct language/entity, not the original

Created on 16 January 2024, 11 months ago
Updated 30 January 2024, 11 months ago

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.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡·πŸ‡΄Romania bogdan.racz

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024