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

JcrUtils.getOrCreateByPath() creates a whole subtree instead of a single branch

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.7
    • None
    • None

    Description

      Given a leaf node n,

      JcrUtils.getOrCreateByPath(n, "a/b/../../c/d/../../e/f", false, null, null, true);

      will result in paths a/b, c/d and e/f being added to n where I'd only expect the path e/f.

      Attachments

        1. JCR-3465
          2 kB
          Michael Dürig

        Activity

          People

            mduerig Michael Dürig
            mduerig Michael Dürig
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: