Bug 794447 (JBEPP-1487) - PortletBridge doesn't handle session timeout properly
Summary: PortletBridge doesn't handle session timeout properly
Keywords:
Status: NEW
Alias: JBEPP-1487
Product: JBoss Enterprise Portal Platform 5
Classification: JBoss
Component: Portal
Version: 5.2.1.GA
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 5.2.x
Assignee: Nobody
QA Contact:
URL: http://jira.jboss.org/jira/browse/JBE...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-24 16:07 UTC by Matt Wringe
Modified: 2020-04-27 01:31 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBEPP-1487 0 Major Closed PortletBridge doesn't handle session timeout properly 2014-04-16 19:43:02 UTC

Description Matt Wringe 2012-01-24 16:07:47 UTC
project_key: JBEPP

see GTNPORTAL-2332

Comment 1 Matt Wringe 2012-01-24 16:08:02 UTC
Link: Added: This issue depends GTNPORTAL-2332


Comment 2 Ken Finnigan 2012-06-22 15:14:43 UTC
When a portlet serveResource() call throws an exception, the portal ignores the exception and the portal page acts as if nothing happened.

A possible workaround is for the portlet, or Portlet Bridge, to catch the exception and call the following to set the HTTP response code for the Browser:

this.resp.setProperty(ResourceResponse.HTTP_STATUS_CODE, Integer.toString(status));

The original problem relating to Session timeout triggers this scenario because a JSF portlet throws a ViewExpiredException on Session timeout.  It's worth noting that this error doesn't occur on Session timeout when the user is not authenticated.

The general integration issues of the portal and portlets around exceptions and proper handling is intended to be addressed by Julien for GateIn 4.0, which would mean changes to EPP 6.


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