Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-851

Incorrect path on children of node that was moved

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.2.0.Final
    • None
    • JCR
    • None
    • Hide

      1. add node and child nodes
      2. save session
      3. move node (but do not save!)
      4. get child node
      5. childnode.getPath() shows the old location before the move

      Show
      1. add node and child nodes 2. save session 3. move node (but do not save!) 4. get child node 5. childnode.getPath() shows the old location before the move

      After move on a node, the path of the child node is false, if there was a session.save after the initial node creation.
      I attached a junit test, which demonstrates this problem.

        1. MODE-851-fix.patch
          6 kB
          Randall Hauch
        2. MoveTest.java
          0.6 kB
          Stefan Schedl

              rhauch Randall Hauch (Inactive)
              sschedl Stefan Schedl (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: