[PHPCR-102] DocumentManager::reorder can not be called multiple times for the same parent Created: 01/Mar/13  Updated: 19/Apr/13  Resolved: 19/Apr/13

Status: Resolved
Project: Doctrine PHPCR
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Blocker
Reporter: David Buchmann Assignee: David Buchmann
Resolution: Fixed Votes: 0
Labels: None


 Description   

unless i really misread the code in UnitOfWork::scheduleReorder, trying to reorder more than one child of the same parent document will drop the previous reordering.

the whole method is of limited use, as you can also reorder the children in the ChildrenCollection.



 Comments   
Comment by David Buchmann [ 18/Apr/13 ]

expand to have an array of reorderings per parent instead of just one reordering.

Comment by David Buchmann [ 19/Apr/13 ]

https://github.com/doctrine/phpcr-odm/pull/278

Generated at Wed Oct 01 03:59:16 UTC 2014 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.