How do I debug cq:dialog issues?

jkpanera

13-02-2020

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!

Answers (1)

Answers (1)

jbrar

Employee

14-02-2020

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.