Doctrine PHPCR
  1. Doctrine PHPCR
  2. PHPCR-102

DocumentManager::reorder can not be called multiple times for the same parent

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • 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.

        Activity

        Hide
        David Buchmann added a comment -

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

        Show
        David Buchmann added a comment - expand to have an array of reorderings per parent instead of just one reordering.
        Show
        David Buchmann added a comment - https://github.com/doctrine/phpcr-odm/pull/278

          People

          • Assignee:
            David Buchmann
            Reporter:
            David Buchmann
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: