Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Won't Fix
-
3.1.42
-
None
-
None
-
Important
Description
I get javax.jcr.PathNotFoundException on a very specific scenario.
Node Structure :
+ jcr:content + par - sling:resourceType = foundation/components/parsys + childrenNode - datatable = (boolean)false - sling:resourceType = myapp/components/container + datatable - text = (String)"<table>...</table>" - sling:resourceType = myapp/components/table
In this structure, I have a property called "datatable" and child node called "datatable"
When I do vlt -rcp from one instance to another the following happens:
- Fist time it works perfectly
- When I run the command again after a node is updated the entire node structure fails to be updated
I get :
ERROR] Error during copy: javax.jcr.InvalidItemStateException: /content/mysite/en/section/news/2018/03/test-monday-001/jcr:content/par/childrenNode/datatable/sling:resourceType
When vlt is updating the content, it looks like VLT RCP is trying to resolve the path from the property instead from the node.
In my case, I have more than 60K nodes like this, I can run a groovy script to change the property name and change the code to read the new property, but it should be nice to have a fix to fix the vlt tool.
Adolfo