Expected Behaviour
It should update the component references on the pages with new references
Actual Behaviour
Throwing error. Attached screenshot
Reproduce Scenario (including but not limited to)
- Created the rule to replace component references
- Make sure to add rules path for below configuration com.adobe.aem.modernize.component.impl.ComponentRewriteRuleServiceImpl
Select Tools -> AEM Modernize Tools -> Component Conversion and select the pages that you want to apply the rule.
Run the schedule job to see the error.
Steps to Reproduce
As described above
Platform and Version
AEM version 6.5.13
Sample Code that illustrates the problem
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"
xmlns:cq="http://www.day.com/jcr/cq/1.0"
xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
jcr:primaryType="sling:OrderedFolder">
<grid_builder jcr:primaryType="nt:unstructured">
<patterns jcr:primaryType="nt:unstructured">
<grid_builder
jcr:primaryType="nt:unstructured"
sling:resourceType="chevrolet/components/structure/grid_builder" />
</patterns>
<replacement jcr:primaryType="nt:unstructured">
<grid_builder
jcr:primaryType="nt:unstructured"
sling:resourceType="chevrolet/components/structure/chevy_grid_builder"
/>
</replacement>
</grid_builder>
</jcr:root>
Logs taken while reproducing problem
Moderniztion tools - Component converter (1).pdf
Expected Behaviour
It should update the component references on the pages with new references
Actual Behaviour
Throwing error. Attached screenshot
Reproduce Scenario (including but not limited to)
Select Tools -> AEM Modernize Tools -> Component Conversion and select the pages that you want to apply the rule.
Run the schedule job to see the error.
Steps to Reproduce
As described above
Platform and Version
AEM version 6.5.13
Sample Code that illustrates the problem
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"
xmlns:cq="http://www.day.com/jcr/cq/1.0"
xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
jcr:primaryType="sling:OrderedFolder">
</jcr:root>
Logs taken while reproducing problem
Moderniztion tools - Component converter (1).pdf