Project

General

Profile

Actions

Bug #11833

closed

Sorting order of IRRE records is wrong after publishing

Added by Oliver Hader almost 14 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Workspaces
Target version:
-
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

forge_11833.patch (2.93 KB) forge_11833.patch Oliver Hader, 2011-01-01 20:13
Actions

Also available in: Atom PDF