Bug 793960 (JBEPP-1031)

Summary: PortalRequestHandler ignores Exception and returns blank page.
Product: [JBoss] JBoss Enterprise Portal Platform 5 Reporter: Takayuki Konishi <tkonishi>
Component: PortalAssignee: Default User <jbpapp-maint>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 5.1.0.GACC: epp-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/JBEPP-1031
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-20 07:22:36 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:

Description Takayuki Konishi 2011-07-28 01:56:45 UTC
Affects: Release Notes
Help Desk Ticket Reference: https://na7.salesforce.com/500A0000007p2DM
Steps to Reproduce: 1. Open /portal with a web browser.
2. Click "login" link (login panel pops up)
3. Shutdown a DB that used as datasource of portal.
4. Input id and password to login panel and click login button
5. Blank page is shown.
Workaround: Workaround Exists
Workaround Description: Set servletfilter to hook the response.
project_key: JBEPP

When org.exoplatform.portal.application.PortalRequestHandler catches Exception, it ignores the exception. As a result, Gatein returns blank page to client.
It should return error message.

137: catch (Exception NonStaleModelEx)
138: {
139: log.error("Error while handling request", NonStaleModelEx);
140: }

Comment 1 Takayuki Konishi 2011-07-28 01:58:09 UTC
Link: Added: This issue relates to GTNPORTAL-1971


Comment 2 Jared MORGAN 2011-11-16 04:14:14 UTC
Release Notes Docs Status: Added: Documented as Known Issue
Release Notes Text: Added: The PortalRequestHandler catches an attempt to log onto a portal instance when the portal database is unavailable. Instead of acting on the exception and displaying an error message to the user, a blank page is presented to the user. To work around the issue, set servletFilter to hook the response.
Affects: Added: Release Notes
Forum Reference: Removed: https://na7.salesforce.com/500A0000007p2DM Added: https://na7.salesforce.com/500A0000007p2DM


Comment 3 Takayuki Konishi 2011-12-07 06:06:25 UTC
Help Desk Ticket Reference: Added: https://na7.salesforce.com/500A0000007p2DM
Forum Reference: Removed: https://na7.salesforce.com/500A0000007p2DM 


Comment 4 hfnukal@redhat.com 2012-01-13 11:59:10 UTC
Labels: Added: EPP_5_2_1_Candidate


Comment 5 Takayuki Konishi 2012-01-20 07:22:35 UTC
It's not a EPP issue.
This occurred at ecmdemo, so it would be a Site Publisher issue.

Comment 6 Takayuki Konishi 2012-01-20 07:22:36 UTC
Labels: Removed: EPP_5_2_1_Candidate