Modernization tool for dialog conversion | Community
Skip to main content
Community Advisor
March 2, 2022
Solved

Modernization tool for dialog conversion

  • March 2, 2022
  • 3 replies
  • 3611 views
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?
 
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by DEBAL_DAS

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

 

 

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

 

I have tried to install below version -

 

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

3 replies

DEBAL_DAS
DEBAL_DASAccepted solution
New Member
March 2, 2022

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

 

 

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

 

I have tried to install below version -

 

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

Debal Das, Senior AEM Consultant
Pallavi_Shukla_
Community Advisor
Community Advisor
March 2, 2022

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.

 

Level 2
March 2, 2022

Hi @pallavi_shukla_  @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  

Level 2
March 2, 2022

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]


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

DEBAL_DAS
New Member
March 2, 2022

There is no issue with below version -

 

 

Bundle is in active state -

 

Dialog conversion tool page -

 

No issue with dialog conversion -

 

 

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

 

 

Debal Das, Senior AEM Consultant
MshajiCommunity AdvisorAuthor
Community Advisor
March 2, 2022

Thanks @debal_das @pallavi_shukla_ 

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