Bug 793479 (JBEPP-561) - Hard coded Error-Page link- please make it configurable
Summary: Hard coded Error-Page link- please make it configurable
Keywords:
Status: CLOSED NEXTRELEASE
Alias: JBEPP-561
Product: JBoss Enterprise Portal Platform 4
Classification: JBoss
Component: unspecified
Version: 4.3.0.GA_CP4
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.3.0.GA_CP6
Assignee: Thomas Heute
QA Contact:
URL: http://jira.jboss.org/jira/browse/JBE...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-10-20 14:47 UTC by Shaun Appleton
Modified: 2012-02-28 16:30 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-01-06 14:09:17 UTC
Type: Feature Request


Attachments (Terms of Use)


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

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



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