Bug 793479 (JBEPP-561)

Summary: Hard coded Error-Page link- please make it configurable
Product: [JBoss] JBoss Enterprise Portal Platform 4 Reporter: Shaun Appleton <sappleto>
Component: unspecifiedAssignee: Thomas Heute <theute>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 4.3.0.GA_CP4CC: epp-bugs
Target Milestone: ---   
Target Release: 4.3.0.GA_CP6   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/JBEPP-561
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-06 14:09:17 UTC Type: Feature Request
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Shaun Appleton 2010-10-20 14:47:35 UTC
Help Desk Ticket Reference: https://c.na7.visual.force.com/apex/Case_View?id=500A00000045fT3
project_key: JBEPP

We found out, that all error pages have to be in /portal-core.
But we don't have such a directory, because we created our own container war.

In Class: org.jboss.portal.core.model.portal.control.page.DefaultPageControlPolicy

We found this code:
String resourceURI = (String)properties.get(ControlConstants.PAGE_RESOURCE_URI_CONTROL_KEY);
if (resourceURI != null)
{
ControllerContext controllerCtx = controlContext.getControllerContext();
ControllerRequestDispatcher rd = controllerCtx.getRequestDispatcher("/portal-core", resourceURI);

So it's not possible to reffer thru some other package.
Please fix this or make it configurable!

Comment 1 Thomas Heute 2011-01-06 14:09:17 UTC
Release Notes Docs Status: Added: Documented as Resolved Issue
Release Notes Text: Added: Error resources needed to be placed into /portal-core with the default Error policies. It has been made configurable by modifying jboss-service.xml