Expand my Community achievements bar.

SOLVED

How do I debug cq:dialog issues?

Avatar

Level 5

Hi guys,

 

I have an issue where a cq:dialog is persisting the information correctly, but when the authoring page loads the information is not populated back into the dialog.

 

I can troubleshoot issues in my Java code using printlns and the debugger. I can troubleshoot issues in HTL by writing values into the HTML.

 

But how do I troubleshoot issues with the cq:dialog?

 

Thanks!

1 Accepted Solution

Avatar

Correct answer by
Level 2

Try upgrading your core components [1].  Make sure the version you're upgrading to is compatible with your AEM version.

 

[1] https://docs.adobe.com/content/help/en/experience-manager-core-components/using/versions.html

View solution in original post

2 Replies

Avatar

Employee Advisor

Check if there are any errors in the browser console when loading the page

Also, check error.log for any errors

 

There might be some js errors causing the issue.

Avatar

Correct answer by
Level 2

Try upgrading your core components [1].  Make sure the version you're upgrading to is compatible with your AEM version.

 

[1] https://docs.adobe.com/content/help/en/experience-manager-core-components/using/versions.html