-
Notifications
You must be signed in to change notification settings - Fork 38.6k
Description
Eric Dalquist opened SPR-9287 and commented
DispatcherPortlet.doEventService calls exposeActionException if an exception is thrown during event processing. The intent is to show the exception the next time the portlet renders.
The problem is a portlet that is handling an event may never render again. This approach of swallowing the exception results in the exception being hidden from the portlet container and no mention of the exception appearing anywhere unless DEBUG logging is enabled in the afflicted portlet.
I believe that exposeActionException should be removed for event requests and made optional for action requests to allow portlets to rely on the container provided exception handling.
Affects: 3.0.7, 3.1.1
Sub-tasks:
- Backport "DispatcherPortlet shouldn't call exposeActionException during event processing" [SPR-9555] #14189 Backport "DispatcherPortlet shouldn't call exposeActionException during event processing"
Referenced from: commits 5965710, 79b86a7
1 votes, 3 watchers