Bug 793815 (JBEPP-890)

Summary: FaceletPortletViewHandler swallows FileNotFoundException
Product: [JBoss] JBoss Enterprise Portal Platform 5 Reporter: Thomas Heute <theute>
Component: unspecifiedAssignee: Thomas Heute <theute>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecified   
Target Milestone: ---   
Target Release: 5.1.1.DEV01   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/JBEPP-890
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-13 17:12:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 793813    

Description Thomas Heute 2011-04-13 17:09:52 UTC
project_key: JBEPP

Comment 1 Thomas Heute 2011-04-13 17:10:10 UTC
Link: Added: This issue is related to PBR-182


Comment 2 Thomas Heute 2011-04-13 17:10:34 UTC
Link: Added: This issue is a dependency of JBEPP-888


Comment 3 Thomas Heute 2011-04-13 17:12:17 UTC
Release Notes Docs Status: Added: Documented as Resolved Issue
Release Notes Text: Added: FileNotFoundException was swallowed by the FaceletPortletViewHandler. In some situation it was difficult to understand why something failed. The exception will no longer be swallowed and showed to the developer.


Comment 4 Scott Mumford 2011-04-29 01:13:49 UTC
Release Notes Docs Status: Removed: Documented as Resolved Issue Added: Needs More Info
Release Notes Text: Removed: FileNotFoundException was swallowed by the FaceletPortletViewHandler. In some situation it was difficult to understand why something failed. The exception will no longer be swallowed and showed to the developer. Added: Cause: NEEDINFO (What was causing the exception to be swallowed?)
Consequence: FileNotFoundException was swallowed by the FaceletPortletViewHandler. In some situations this made it difficult to understand why some facets of the portal failed.
Fix: An upgrade to JBoss Portlet Bridge NEEDINFO (Version) corrects this behavior.
Result: The exception will no longer be swallowed and will appear to the developer.


Comment 5 Scott Mumford 2011-04-29 01:21:30 UTC
Release Notes Text: Removed: Cause: NEEDINFO (What was causing the exception to be swallowed?)
Consequence: FileNotFoundException was swallowed by the FaceletPortletViewHandler. In some situations this made it difficult to understand why some facets of the portal failed.
Fix: An upgrade to JBoss Portlet Bridge NEEDINFO (Version) corrects this behavior.
Result: The exception will no longer be swallowed and will appear to the developer. Added: Exceptions thrown by the handleFaceletNotFound method (when a facelet file was not found) were being obscured by FaceletViewHandler as the response object was not a subtype of HttpServletResponse (it is a instance of PortletResponse).
FaceletPortletViewHandler.java has been updated to handle instances of both HttpServletResponse and PortletResponse response objects.

(Text taken from same issue in 4.3.CP06 Release Notes JBEPP-447 http://docs.redhat.com/docs/en-US/JBoss_Enterprise_Portal_Platform/4.3/html-single/CP06_Release_Notes/index.html#issues_resolved)


Comment 6 Scott Mumford 2011-04-29 01:21:45 UTC
Release Notes Docs Status: Removed: Needs More Info Added: Documented as Resolved Issue


Comment 7 Scott Mumford 2011-05-04 04:15:29 UTC
Release Notes Text: Removed: Exceptions thrown by the handleFaceletNotFound method (when a facelet file was not found) were being obscured by FaceletViewHandler as the response object was not a subtype of HttpServletResponse (it is a instance of PortletResponse).
FaceletPortletViewHandler.java has been updated to handle instances of both HttpServletResponse and PortletResponse response objects.

(Text taken from same issue in 4.3.CP06 Release Notes JBEPP-447 http://docs.redhat.com/docs/en-US/JBoss_Enterprise_Portal_Platform/4.3/html-single/CP06_Release_Notes/index.html#issues_resolved) Added: Exceptions thrown by the handleFaceletNotFound method (when a facelet file was not found) were being obscured by FaceletViewHandler as the response object was not a subtype of HttpServletResponse (it is a instance of PortletResponse). FaceletPortletViewHandler.java has been updated to handle instances of both HttpServletResponse and PortletResponse response objects.


Comment 8 Scott Mumford 2011-08-18 02:39:43 UTC
Release Notes Text: Removed: Exceptions thrown by the handleFaceletNotFound method (when a facelet file was not found) were being obscured by FaceletViewHandler as the response object was not a subtype of HttpServletResponse (it is a instance of PortletResponse). FaceletPortletViewHandler.java has been updated to handle instances of both HttpServletResponse and PortletResponse response objects. Added: Exceptions thrown by the handleFaceletNotFound method (when a facelet file was not found) were being obscured by FaceletViewHandler as the response object was not a subtype of HttpServletResponse (it is an instance of PortletResponse). FaceletPortletViewHandler.java has been updated to handle instances of both HttpServletResponse and PortletResponse response objects.