Skip to content

Translations denormalization in entities not working for child items #8773

@RafaPolit

Description

@RafaPolit

Describe the bug
When you edit translations of CHILD thesaurus values, they are not denormalized in the entities correctly. Editing root properties does propagate the translation denormalization, but child items are not correctly denormalized into the entities.

To Reproduce
Steps to reproduce the behavior:

  1. Create a Thesaurus with a Parent::Child element
  2. Assign that thesaurus to a template select or multiselect (only tested in multiselect, but probably affecting selects as well)
  3. Create an entity that uses that child value
  4. Go into the translations and change the translation of the child value
  5. Go into the entity and see that the new label of the translated thesaurus has not been propagated into the label

Expected behavior
As happens with root properties, the new values should be denormalized inside the entity's metadata.

Additional context
This probably will require a migration (???) to re-denormalize all child values with translations... and reindex.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions