I'm struggling to RCP content from one author instance(instanceA) to another(instanceB). I get no errors (i did before, using the wrong VLT version).
Now, the job will run just fine (FOR HOURS, as it is A LOT of content to be copied), but no changes will reflect on InstanceB.
When I check the CQ interface, the structure looks the same in both InstanceA and InstanceB, but when opening the actual pages, it shows older versions.
Checking the error logs i found this:
Refusing to replace current target textimage_c725 with textimage_cef1. 04.08.2015 09:46:58.582 *WARN* [MapEntries Update] org.apache.sling.resourceresolver.impl.mapping.MapEntries Encountered duplicate alias textimage_be4c under parent path /content/llama1/es/es/day/solutions/retail-solutions/one-store/jcr:content/mainpar/twocol_1a45/rightpar. Refusing to replace current target textimage_c725 with textimage_8671. 04.08.2015 09:46:58.584 *WARN* [MapEntries Update] org.apache.sling.resourceresolver.impl.mapping.MapEntries Encountered duplicate alias textimage_be4c under parent path /content/llama1/es/es/day/solutions/retail-solutions/one-store/jcr:content/mainpar/twocol_1a45/rightpar. Refusing to replace current target textimage_c725 with textimage_dff. 04.08.2015 09:46:58.586 *WARN* [MapEntries Update] org.apache.sling.resourceresolver.impl.mapping.MapEntries Encountered duplicate alias textimage_be4c under parent path /content/llama1/es/es/day/solutions/retail-solutions/one-store/jcr:content/mainpar/twocol_1a45/rightpar. Refusing to replace current target textimage_c725 with textimage_6e21.
Im even using the Admin user to run these jobs, and no success so far. What am I missing?
The command im using of course:
vlt rcp -r -b 6000 -u -n http://[adminuser]:[adminpassword]@[InstanceA]:4502/crx/-/jcr:root/content/llama1 http://[adminuser]:[adminpassword]@[InstanceB]:4502/crx/-/jcr:root/content/llama1
Any help would be appreciated.
Solved! Go to Solution.
Views
Replies
Total Likes
The error thrown can be seen at line 519 of the code: [1]. Can you paste the json for one of the nodes that is causing the issue, so we can see what properties it has? It might be an idea to look at the sling:alias value for the node and run a query to see which other nodes have the same sling:alias, you can adapt the query from the method.
Views
Replies
Total Likes
From the logs it seems that you are using sling:alias to map resources under content nodes and after the transfer you have some nodes which have duplicate sling:alias value. When you render the pages then sling does not include the right component as it is rejecting the nodes with duplicate sling:alias value. I would suggest that you run query in CRX to find out nodes which have duplicate sling:alias value and may be that will lead to a resolving this issue.
Views
Replies
Total Likes
The error thrown can be seen at line 519 of the code: [1]. Can you paste the json for one of the nodes that is causing the issue, so we can see what properties it has? It might be an idea to look at the sling:alias value for the node and run a query to see which other nodes have the same sling:alias, you can adapt the query from the method.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Like
Replies