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

Session.move(...) incorrectly fails if there is already an existing node with the same name in the destination and SNS are allowed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 1.1.0.Final
    • 1.0.0.Final
    • JCR
    • None
    • Low

      The Session.move(...) method is currently checking to see whether the destination parent already has a child with the same name as the node being moved. Per section 7.1.7 of the JCR 1.0.1 specification, "An ItemExistsException is thrown either immediately or on save if a property already exists at destAbsPath or a node already exists there and same-name siblings are not allowed." The method should throw this exception only if SNS are not allowed.

              bcarothers_jira Brian Carothers (Inactive)
              rhauch Randall Hauch (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: