Actions
Bug #11833
closedSorting order of IRRE records is wrong after publishing
Start date:
2011-01-01
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Imagine the following scenario:
- existing page record with an IRRE field (use irre_tutorial to reproduce, there's also a test case for this)
- one child record is existing in live workspace
- add new child records in custom workspace
- publish them
The result is, that the sorting order of those child records is wrong, since sorting is applied in t3lib_loadBDgroup->writeForeignField() which gets called when not all records have been processed. The solution is to recall writeForeignField() with a remapAction after all database operations.
Files
Actions