Open AnupamaKarru opened 2 years ago
Can you set loggin to DEBUG
on com.adobe.acs.commons.errorpagehandler.impl
and reproduce the erroring condition?
I would double-check all your errorPages
properties - it sounds like one isn't updated (or maybe not published after an update?)
This feature hasnt changed in ages - and im not sure how it could know abotu some other trees error pages unless there's an errorPages property pointing to it (or its the fallback in the OSGi config).
Also, are you sure no one deployed ErrorDocument directives on Apache webserver(dispatcher) that hard-coded to goto the /content/app/us/en?
We tried setting debug but we didn't find any log trace. All the pages are published which are having error pages configuration.
We have OSGI config pointing to "/content/app/us/en".Please find screenshot. We have ErrorDocument on dispatcher config which is pointing to /content/app/us/en.
Could you please let us know what are the required configurations we have to do in order to point microsite1 points to microsite1 error page and microsite2 points to microsite2 error page.
i.e. /content/testing/us/en -->"/content/testing/us/en/error". /content/app/us/en -->"/content/app/us/en/error".
Thanks, Anupama
@AnupamaKarru - few observations
errorPages
property is set on all your cq:Page trees properly. Your OSGi only lists 1 mapping in paths
, so i assume other are handled elsewhere (you dont need the OSGi paths at all if you are handled it at the cq:Page property leve)You can test this, but hitting AEM Publish directly (port 4503) without going through dispatcher and see if you have different behavior.
Please provide an update.
Required Information
Expected Behavior
When we are accessing any page inside one microsite it is redirecting us to the error page of other microsite. Although we have error pages published for that microsite. Example: In case of any error on /content/testing/us/en page then it is redirecting us to the error page of "/content/app/us/en".
We do have error pages for both /content/testing/us/en and /content/app/us/en
the error handling is setup with acs commons as recommended.
Steps to Reproducehttps://stryker-build64.adobecqms.net/content/marketing-operations/us/en/indextest.html >> this Url should go to the https://stryker-build64.adobecqms.net/content/marketing-operations/us/en/error