Uploaded image for project: 'Jackrabbit FileVault'
  1. Jackrabbit FileVault
  2. JCRVLT-582

Package import fails for namespaced paths and path mapping

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.5.8
    • None
    • Packaging
    • None

    Description

      Package import fails to import nodes when used as follows:

      • the package contains namespaced paths (e.g. /content/_cq_tags/src)
      • regex path mapping are defined to map /content/cq:tags/src to /content/cq:tags/dest
      RegexpPathMapping pathMapping = new RegexpPathMapping();
      for (String path : sitePaths.keySet()) {
          pathMapping.addMapping(path + "(/.*)?", sitePaths.get(path) + "$1");
      }
      ImportOptions options = new ImportOptions();
      options.setPathMapping(pathMapping);
      jcrPackage.install(options);
      

       Result: nodes below /content/cq:tags are not created.

      Attachments

        1. sites-3957.log
          503 kB
          Jean-Christophe Kautzmann

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jck Jean-Christophe Kautzmann
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: