Uploaded image for project: '[Read Only] - Hippo Repository'
  1. [Read Only] - Hippo Repository
  2. REPO-684

session.pendingChanges return wrong nodes in case of session.move(String srcAbsPath, String destAbsPath) is used

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Top
    • Resolution: Fixed
    • 2.24.06
    • 2.26.00-alpha-1, 2.26.00
    • None

    Description

      I am using something like:

      session.move("/hst:hst/hst:configurations/myprojec/hst:pages/x/y/z" , "/hst:hst/hst:configurations/myprojec/hst:pages/x/y/a")

      After the above, I get for the code below:

      session.pendingChanges(session.getRootNode(), "nt:base", true).nextNode().getPath()

      --> /hst:hst

      This breaks hst reloading currently

      Regards Ard

      Attachments

        Issue Links

          Activity

            People

              jsheriff Junaidh Kadhar Sheriff
              aschrijvers Ard Schrijvers
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: