[ 
https://issues.apache.org/jira/browse/JCRVLT-283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16409954#comment-16409954
 ] 

Adolfo commented on JCRVLT-283:
-------------------------------

Hi Tobias,

Thanks for your response, I tested with vlt-rcp bundle and it works fine, here 
is the command I use for the vlt command :

 
{code:java}
./vlt --credentials admin --update-credentials rcp -e 
'".*rep\:policy|.*\.DS_Store.*"' -b 100 -r -u -n 
http://192.168.0.155:4504/crx/-/jcr:root/content/mysite/en/section/news 
http://localhost:4508/crx/-/jcr:root/content/mysite/en/section/news 
--no-ordering --log-level DEBUG &> >(tee 
/tmp/log/aem/vlt-rcp-content-mysite_$(date +%Y-%m-%d_%H%M%S).log)
{code}
 

I will run a groovy script to change the property and I will update the code, 
this will avoid having the issue with any other tool.

Thanks

> Error during a copy (RCP)
> -------------------------
>
>                 Key: JCRVLT-283
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-283
>             Project: Jackrabbit FileVault
>          Issue Type: Bug
>          Components: RCP
>    Affects Versions: 3.1.42
>            Reporter: Adolfo
>            Priority: Blocker
>   Original Estimate: 96h
>  Remaining Estimate: 96h
>
> I get javax.jcr.PathNotFoundException on a very specific scenario.
> Node Structure :
>  
> {code:java}
> + 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{code}
>  
> 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
>  
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to