[TYPO3-core] RFC: Bug #16846: Sorting order of newly created child elements on workspaces is wrong

Oliver Hader oliver.hader at typo3.org
Sat Jan 1 20:11:57 CET 2011


FYI: The following changes have been committed to SVN Trunk (rev. 9979)

It is required that the external hook in tx_version has the possibility
to add own instructions to the remapAction stack.

-> "Follow-up to bug #16846: Allow external objects to modify the
remapAction stack"

olly


Am 28.12.10 16:32, schrieb Oliver Hader:
> FYI: Committed to SVN Trunk (rev. 9950)
> (François will do a post-review tomorrow)
> 
> olly
> 
> 
> Am 28.12.10 15:06, schrieb Oliver Hader:
>> This is an SVN patch request.
>>
>> Type: Bugfix
>>
>> Bugtracker references:
>> http://bugs.typo3.org/view.php?id=16846
>>
>> Branches: Trunk
>>
>> Problem:
>> Imagine the following scenario:
>> * IRRE field at a page record
>> * add new child records in workspace mode
>>
>> The sorting order of the records is stored incorrectly and will also be
>> mixed up on publishing these new records. The reason for that is, that
>> the sorting order of the placeholder records (which are created for new
>> workspaces elements as a "live pendant") is not updated.
>>
>> Solution:
>> Fetch the accordant record which shall be updated with a new sorting
>> index from the database if it's a symmetric relation (this was already
>> the case) and if currently the table is used in a workspace. Then, if
>> the current record has a placeholder record, update the sorting field
>> there as well.
>>
>> Notes:
>> Since this is related to IRRE 1:n with foreign_field only - I might
>> consider to commit it directly - however, I'd like to have some opinions
>> on the patch. Thanks in advance!
>>
>> olly
-- 
Oliver Hader
TYPO3 v4 Core Team Leader

TYPO3 .... inspiring people to share!
Get involved: http://typo3.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 16846_followup.patch
Type: text/x-patch
Size: 1379 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110101/4b6b4f28/attachment.bin>


More information about the TYPO3-team-core mailing list