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

session.move() throws ItemExistsException despite same name siblings

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9, 1.0, 1.0.1
    • 1.1
    • jackrabbit-core
    • None
    • svn rev. 414241

    Description

      code to reproduce:

      Session session = r.login(new SimpleCredentials("johndoe", "".toCharArray()), wspName);
      Node root = session.getRootNode();

      // setup test case
      if (!root.hasNode("foo"))

      { root.addNode("foo"); root.save(); }

      if (!root.hasNode("bar"))

      { root.addNode("bar"); root.save(); }

      session.move("/foo", "/bar"); // ==> ItemExistsException

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: