Feature #91925
closedGet the configuration of the requested PageContentErrorHandler
0%
Description
I tried to get the error Handling configuration in my controller in order to get the url or pid of the 404 page. I ended up using the PageContentErrorHandler where the attributes i need, are in there. The only problem is that i can not access them since the method is missing. So i added them myself. I do not know if this is done on purpose but if it is not, here is an example.
Files
Updated by Georg Ringer over 4 years ago
- Status changed from New to Needs Feedback
What about just reading the site configuration and getting it from there?
Updated by Christian Kuhn almost 3 years ago
- Status changed from Needs Feedback to Closed
hey. i hope it's ok to close here for now: like georg, i don't really understand the use case, and accessing the site object seems to be a legit solution. in case this is no viable solution or the problem still exists, maybe let's restart with a fresh issue to elaborate on use cases.