Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Modernization tool for dialog conversion

Avatar

Level 8
has anyone use aem modernization tools for dialog conversion
I downloaded latest version and old versions , trying to convert classic to touch when I run convert components
 
i see no operation happening 
 
when I look at xhr request I found this request
when I open this xhr in new tab I see following message
Invalid recursion selector value 'listcomponents'
I used dialog converter long time ago it has some interface like this
dialog converter is not longer available, it is replaced with modernization tool . 
Anyone experienced this and any resolution on this?
 
1 Accepted Solution

Avatar

Correct answer by
Community Advisor

I am able to replicate this issue on AEM 6.5.9 and AEM 6.5.0 -

 

DEBAL_DAS_0-1646201382817.png

 

It is happening because AEM Modernize Tools - Corecom.adobe.aem.aem-modernize-tools.core bundle is in installed state as shown below -

DEBAL_DAS_1-1646201431679.png

DEBAL_DAS_2-1646201550770.png

 

I have tried to install below version -

DEBAL_DAS_3-1646201632012.png

 

But I didn't face this issue 2 years back and that time this tool(utility) worked perfectly.

View solution in original post

10 Replies

Avatar

Correct answer by
Community Advisor

I am able to replicate this issue on AEM 6.5.9 and AEM 6.5.0 -

 

DEBAL_DAS_0-1646201382817.png

 

It is happening because AEM Modernize Tools - Corecom.adobe.aem.aem-modernize-tools.core bundle is in installed state as shown below -

DEBAL_DAS_1-1646201431679.png

DEBAL_DAS_2-1646201550770.png

 

I have tried to install below version -

DEBAL_DAS_3-1646201632012.png

 

But I didn't face this issue 2 years back and that time this tool(utility) worked perfectly.

Avatar

Level 5

hi @Mshajiahmed

 

We are using 6.5.11 and we downloaded modernization tool from software downloads. It is working perfectly fine for us for all conversions including dialog too.Please let me know whats error you are getting when you try using dialog conversion.

 

MicrosoftTeams-image (3).pngMicrosoftTeams-image (2).png

Avatar

Level 2

Hi @PallaviShukla_3007  @DEBAL_DAS 

I installed sp11 package, still the same issue

when I look at  modernize bundle I do see

javax.servlet,version=[4.0,5) -- Cannot be resolved

In the error logs I see

02.03.2022 07:46:16.285 *ERROR* [metrics-RRD4JReporter-1-thread-1] com.codahale.metrics.ScheduledReporter Exception thrown from RRD4JReporter#report. Exception was suppressed.

java.lang.IllegalStateException: RRD already closed, cannot store this sample

at org.rrd4j.core.RrdDb.store(RrdDb.java:512)

even after I download javax.servlet version 4.0.0 jar file bundle cannot be resolved test is gone  I see the above error log  

Screen Shot 2022-03-02 at 7.34.12 AM.pngScreen Shot 2022-03-02 at 7.34.05 AM.png

Avatar

Level 5

I think you can use 1.0.0  aem modernization tool version which works perfectly fine with 6.5.11 aem version if dialog conversion is the end goal.

https://github.com/adobe/aem-modernize-tools/tree/aem-modernize-tools-1.0.0

 

Avatar

Level 2

I am getting following error when installing 1.0.0 on AEM 6.5 with sp11

Error: javax.jcr.nodetype.ConstraintViolationException: OakConstraint0001: /apps/cq/core/content/nav/tools[[nt:folder]]: No matching definition found for child node sites with effective type [nt:unstructured, rep:AccessControllable]

Screen Shot 2022-03-02 at 7.54.43 AM.png

Avatar

Level 5

Its a known bug - just delete the node manually once which is throwing error, reintall the package and you would be good

 

It is happening  because the tool node type should be un

structured.

Avatar

Level 2

I installed 2.0.12 successfully,  i am able to see some progress

it is making an ajax request

http://localhost:6500/mnt/overlay/aem-modernize/content/component/job/create.json

which is returning following response

{"success":false,"message":"Unable to schedule job(s), check logs for details","job":null}

In the log following error reported

 

 

02.03.2022 08:03:22.270 *WARN* [[0:0:0:0:0:0:0:1] [1646226202229] POST /mnt/overlay/aem-modernize/content/component/job/create.json HTTP/1.1] org.apache.sling.jcr.resource.internal.JcrSystemUserValidator The provided service principal name 'aem-modernize-schedule-job-service' is not a known JCR system user id and therefore not allowed in the Sling Service User Mapper.

02.03.2022 08:03:22.272 *ERROR* [[0:0:0:0:0:0:0:1] [1646226202229] POST /mnt/overlay/aem-modernize/content/component/job/create.json HTTP/1.1] com.adobe.aem.modernize.servlet.ScheduleConversionJobServlet Repository error when creating job.

javax.jcr.LoginException: Can neither derive user name nor principal names for bundle com.adobe.aem.aem-modernize-tools.core [625] and sub service schedule-job

Avatar

Level 5

are you supplying the correct dialog path to the tool? Can you please give the screenshot. I didnt find such issue with this version.

Avatar

Community Advisor

There is no issue with below version -

 

DEBAL_DAS_0-1646225624319.png

 

Bundle is in active state -

 

DEBAL_DAS_1-1646225697814.png

Dialog conversion tool page -

DEBAL_DAS_2-1646225759293.png

 

No issue with dialog conversion -

DEBAL_DAS_3-1646226232522.png

 

DEBAL_DAS_4-1646226248015.png

 

Tested on AEM 6.5.9. We are facing dependency issue with latest version.

 

 

Avatar

Level 8

Thanks @DEBAL_DAS @PallaviShukla_3007 

I used 1.0.0 version on AEM 6.5 SP11, it is working fine now I can see dialog conversion interface.