Issue Bug Closed

#89364Relations of new records have wrong language

Markus Bischof 10/08/19, 07:52 updated 11/08/26, 19:46

Description

There seems to be a problem with relations in new/unsaved records.

Scenario

  • Create new record (e.g news)
  • Set the record language to a non-default language (e.g 1)
  • Create a relation 1 (e.g. FAL)
  • Save the record
  • Create a relation 2 (e.g. FAL)
  • Save the record

Expected

  • Record with sys_language_uid 1
  • Relation 1 with sys_language_uid 1
  • Relation 2 with sys_language_uid 1

Real life behaviour

  • Record has sys_language_uid 1
  • Relation 1 has sys_language_uid 0
  • Relation 2 has sys_language_uid 1

Conclusion

Relations of non-default language records are saved with the wrong (default) langauge if the record itself was not saved before.

Reviews 1

History 39

  1. Benni Mack commented and changed status Under Review Closed <span data-processor="relativetime" data-value="2026-11-08T19:46:40+00:00" > 11/08/26, 19:46 </span>

    Fixed by #103970 (Gerrit 87595, c4c5e37ff8f on main / 68242812b99 on 14.3): DataHandler now aligns the language of inline and file children with the language stored for their parent after the data map has been processed, so new references of a parent created in a non-default language get that language. The scenario tests of Gerrit 93028 pass on main without its code changes. Closing as resolved.