Hide Forgot
Help Desk Ticket Reference: https://c.na7.visual.force.com/apex/Case_View?id=500A0000008RtL9&sfdc.override=1 project_key: JBEPP Platform JIRA for [PBR-295] Exception is not handled in SeamPhaseListenerWrapper.afterPhase() and just swallowed
Link: Added: This issue incorporates PBR-295
Link: Added: This issue is incorporated by JBEPP-1330
Could I please get some draft content for the Release Notes here. This must be included in the Release Notes, because it is a helpdesk issue.
Release Notes Docs Status: Added: Needs More Info Release Notes Text: Added: CAUSE: CONSEQUENCE: FIX: RESULT: Primary SME: Added: theute NEEDINFO: Removed: Nobody Added: Subject Matter Expert
NEEDINFO Due Date: Added: 30/Nov/11
Hi Jared, Let me know if you want more info. =========== CAUSE: org.jboss.portletbridge.seam.SeamPhaseListenerWrapper.afterPhase() doesn't handle exceptions. CONSEQUENCE: Exceptions during afterPhase() are swallowed. (e.g. StaleObjectStateException in Hibernate commit) Seam exception handler is not notified of it so the application moves to a next page instead of an error page. FIX: Now org.jboss.portletbridge.seam.SeamPhaseListenerWrapper.afterPhase() catches exceptions and passes them to Seam exception handler like org.jboss.seam.jsf.SeamPhaseListener. RESULT: Exceptions during afterPhase() are handled. Seam exception handler is notified of it so the application moves to an error page.
Release Notes Docs Status: Removed: Needs More Info Added: Documented as Resolved Issue Release Notes Text: Removed: CAUSE: CONSEQUENCE: FIX: RESULT: Added: org.jboss.portletbridge.seam.SeamPhaseListenerWrapper.afterPhase() did not correctly handle exceptions. Exceptions that typically occurred during during afterPhase() were truncated (for example StaleObjectStateException in Hibernate commit). The Seam exception handler was not notified of the truncated exceptions therefore the application moves to a next page instead of an error page. The fix ensures org.jboss.portletbridge.seam.SeamPhaseListenerWrapper.afterPhase() catches exceptions and passes them to Seam exception handler (for example, org.jboss.seam.jsf.SeamPhaseListener). Because exceptions are handled correctly, the Seam exception handler displays and error page given the appropriate conditions. NEEDINFO Due Date: Removed: 30/Nov/11 NEEDINFO: Removed: Subject Matter Expert Added: Nobody