Uploaded image for project: 'Doctrine PHPCR'
  1. Doctrine PHPCR
  2. PHPCR-102

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: 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

        dbu David Buchmann created issue -
        dbu David Buchmann made changes -
        Field Original Value New Value
        Priority Major [ 3 ] Blocker [ 1 ]
        dbu David Buchmann made changes -
        Assignee Lukas Kahwe [ lsmith ] David Buchmann [ dbu ]
        Hide
        dbu David Buchmann added a comment -

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

        Show
        dbu David Buchmann added a comment - expand to have an array of reorderings per parent instead of just one reordering.
        Show
        dbu David Buchmann added a comment - https://github.com/doctrine/phpcr-odm/pull/278
        dbu David Buchmann made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

        This list may be incomplete, as errors occurred whilst retrieving source from linked applications:

        • Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={expand=changesets[0:20].revisions[0:29],reviews, query=PHPCR-102}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

          People

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

            Dates

            • Created:
              Updated:
              Resolved: