Bug 793815 (JBEPP-890) - FaceletPortletViewHandler swallows FileNotFoundException
Summary: FaceletPortletViewHandler swallows FileNotFoundException
Keywords:
Status: CLOSED NEXTRELEASE
Alias: JBEPP-890
Product: JBoss Enterprise Portal Platform 5
Classification: JBoss
Component: unspecified
Version: unspecified
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 5.1.1.DEV01
Assignee: Thomas Heute
QA Contact:
URL: http://jira.jboss.org/jira/browse/JBE...
Whiteboard:
Depends On:
Blocks: JBEPP-888
TreeView+ depends on / blocked
 
Reported: 2011-04-13 17:09 UTC by Thomas Heute
Modified: 2011-08-18 02:39 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-13 17:12:17 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBEPP-890 0 None None None Never

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.



Note You need to log in before you can comment on or make changes to this bug.