Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

ACS commons Error handler

Avatar

Level 3

I am using AEM 6.0. Using ACS commons for error handler implementation.

404 error is working find but 500 error is not working. I am trying to break test by breaking a component with error. But it is not working,

Configuration I am using :

<?xml version="1.0" encoding="UTF-8"?> <jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" jcr:primaryType="sling:OsgiConfig" enabled="{Boolean}true" serve-authenticated-from-cache="{Boolean}true" ttl="{Long}300" error-page.extenstion="html" error-page.fallback-name="500" />
1 Accepted Solution

Avatar

Correct answer by
Level 10

THe ACS team asked that you post that question here:

http://adobe-consulting-services.github.io/acs-aem-commons/features/errorpagehandler.html

In addition - I will step through this too and see if I can re-produce this. 

View solution in original post

5 Replies

Avatar

Correct answer by
Level 10

THe ACS team asked that you post that question here:

http://adobe-consulting-services.github.io/acs-aem-commons/features/errorpagehandler.html

In addition - I will step through this too and see if I can re-produce this. 

Avatar

Level 10

Did you watch the video here:

http://adobe-consulting-services.github.io/acs-aem-commons/features/errorpagehandler.html

He steps through this use case in the video. Make sure that you Preview Publish as shown in the video. 

Avatar

Level 3

I have implemented as per video. The issues I am having is component with error is not appearing as per screenshot/video. It is hiding in preview mode. 

Avatar

Level 10

Are you doing Preview Publish like shown in the video? 

Avatar

Level 3

Three options as per video is not appearing for me. In preview mode component with error is hidden.