Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-155

renaming a node with Session.move() or Workspace.move() is not visible from other concurrent sessions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0
    • jackrabbit-core
    • None
    • SVN rev. 202548

    Description

      this is a CachingHierarchyManager issue.

      to reproduce:

      Node n1 = session1.getRootNode().getNode("foo");
      String path = n1.getPath(); // returns "/foo"

      Node n2 = session2.getRootNode().getNode("foo");
      path = n2.getPath(); // returns "/foo"

      session1.move("/foo", "/bar");
      session1.save();

      path = n1.getPath(); // returns "/bar"
      path = n2.getPath(); // should return "/bar" but still returns "/foo"

      Attachments

        Activity

          People

            dpfister Dominique Pfister
            stefan@jira Stefan Guggisberg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: