Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.5.8
-
None
-
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
Attachments
Issue Links
- relates to
-
JCRVLT-357 Split up DocViewSaxImporter: Separate parsing from importing
- Closed
- links to