Skip to content

You do not have permissions, while scheduling Modernization tools -> component update job #199

Description

@sivavishnu11

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)

  1. Created the rule to replace component references
  2. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions