[TYPO3-workspace] FYI: Fixed bug #11833: Sorting order of IRRE records is wrong after publishing
Oliver Hader
oliver.hader at typo3.org
Sat Jan 1 20:00:58 CET 2011
The following changes were committed to SVN Trunk (rev. 3627)
Type: Bugfix
Bugtracker references:
http://forge.typo3.org/issues/11833
Branch: Trunk
Problem:
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
Solution:
The solution is to recall writeForeignField() with a remapAction after
all database operations.
Notes:
Use the test case in the extension irre_tutorial to test this behaviour.
olly
--
Oliver Hader
TYPO3 v4 Core Team Leader
TYPO3 .... inspiring people to share!
Get involved: http://typo3.org
More information about the TYPO3-team-workspace
mailing list