Bug #89364

Relations of new records have wrong language

Added by Markus Bischof 11 days ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
DataHandler aka TCEmain
Target version:
-
Start date:
2019-10-08
Due date:
% Done:

0%

TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.

Also available in: Atom PDF