Skip to main content
DIPEN_SEN_
Level 3
Dec 5, 2015 1:17 PM UTC
Solved

ACS commons Error handler

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" />
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
smacdonald2008
smacdonald2008Accepted solution
Level 10
Dec 5, 2015 4:40 PM UTC

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. 

5 replies

smacdonald2008
smacdonald2008Accepted solution
Level 10
Dec 5, 2015 4:40 PM UTC

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. 

Translate
smacdonald2008
Level 10
Dec 5, 2015 5:11 PM UTC

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. 

Translate
DIPEN_SEN_
Level 3
Dec 5, 2015 6:11 PM UTC

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. 

Translate
smacdonald2008
Level 10
Dec 5, 2015 9:47 PM UTC

Are you doing Preview Publish like shown in the video? 

Translate
DIPEN_SEN_
Level 3
Dec 7, 2015 10:01 AM UTC

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

Translate