[
https://issues.jboss.org/browse/GTNPORTAL-2207?page=com.atlassian.jira.pl...
]
RH Bugzilla Integration commented on GTNPORTAL-2207:
----------------------------------------------------
Gary Hu <ghu(a)redhat.com> made a comment on [bug
819631|https://bugzilla.redhat.com/show_bug.cgi?id=819631]
Technical note added. If any revisions are required, please edit the "Technical
Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services
team.
New Contents:
PATCH NAME:
819631
PRODUCT NAME:
JBoss Enterprise Portal Platform (EPP)
VERSION:
5.2.0.GA
SHORT DESCRIPTION:
Bug 818565 Portal container name is hardcoded in the LocalizationFilter
LONG DESCRIPTION:
Portal container name is hardcoded in the LocalizationFilter, which makes it a
failure to start portal with a different container name than "portal". Please
check Bug 818565 for the details.
MANUAL INSTALL INSTRUCTIONS:
replace the jar
$EPP5_HOME/server/$PROFILE/deploy/gatein.ear/lib/exo.portal.webui.portal-5.2.0.GA.jar
with the patched one.
COMPATIBILITY:
N/A
DEPENDENCIES:
N/A
SUPERSEDES:
N/A
SUPERSEDED BY:
EPP 5.2.GA
CREATOR:
Gary Hu
DATE:
May 7, 2012
Hardcode for getting portal container in LocalizationFilter.java
----------------------------------------------------------------
Key: GTNPORTAL-2207
URL:
https://issues.jboss.org/browse/GTNPORTAL-2207
Project: GateIn Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Reporter: Hai Nguyen
Assignee: Hai Nguyen
Labels: portal-s63, synced
Fix For: 3.2.0-Beta01
In LocalizationFilter.java, we hardcode "portal" for getting RootContainer:
{code:xml}
if (container instanceof RootContainer)
container = (ExoContainer) container.getComponentInstance("portal");
{code}
This affect if we change default context path as article:
http://community.jboss.org/wiki/ChangeGateInContextPath. We will get the exception because
NULL container.
The code should be change to:
{code:xml}
if (container instanceof RootContainer)
container = (ExoContainer)
container.getComponentInstance(req.getContextPath().substring(1));
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira