[
https://issues.jboss.org/browse/GTNPORTAL-2700?page=com.atlassian.jira.pl...
]
Peter Palaga updated GTNPORTAL-2700:
------------------------------------
Steps to Reproduce:
(1) Make sure there is no older version of sample portal or sample extension in
$JBOSS_HOME/gatein/extension.
(2) Build Sample Extension and Sample Portal
{code}
cd /tmp
git clone
https://github.com/gatein/gatein-portal-quickstart.git
cd gatein-portal-quickstart/gatein-portal-extension
mvn clean package
cp -t $JBOSS_HOME/gatein/extension ear/target/gatein-portal-extension.ear
cd ../gatein-sample-portal
mvn clean package
cp -t $JBOSS_HOME/gatein/extension ear/target/gatein-sample-portal.ear
{code}
(3) Restart JBoss
(4)
* Visit
http://127.0.0.1:8080/sample-portal
** OK: Home Portlet is showing: "This is the Home Page of the
"sample-portal""
* Visit
http://127.0.0.1:8080/portal
** NOT OK: Home Portlet is showing: "This is the Home Page of the
"sample-portal""
** EXPECTED: "Congratulation, you just installed a new portal extension"
was:
(1) Make sure there is no older version of sample portal or sample extension in
$JBOSS_HOME/gatein/extension.
(2) Build Sample Extension and Sample Portal
{code}
cd /tmp
git clone
https://github.com/gatein/gatein-portal-quickstart.git
cd gatein-portal-quickstart/gatein-portal-extension
mvn clean package
cp -t $JBOSS_HOME/gatein/extension ear/target/gatein-portal-extension.ear
cd ../gatein-sample-portal
mvn clean package
cp -t $JBOSS_HOME/gatein/extension ear/target/gatein-sample-portal.ear
{code}
(3) Restart JBoss
(4) Visit /sample-portal first:
* Visit
http://127.0.0.1:8080/sample-portal - EXPECTED: Home Portlet is showing:
"This is the Home Page of the "sample-portal""
* Visit
http://127.0.0.1:8080/portal - NOT EXPECTED: Home Portlet is showing: "This
is the Home Page of the "sample-portal""
(5) Visit /portal first:
* Visit
http://127.0.0.1:8080/portal - EXPECTED: Home Portlet is showing:
"Congratulation, you just installed a new portal extension"
* Visit
http://127.0.0.1:8080/sample-portal - NOT EXPECTED: Home Portlet is showing:
"Congratulation, you just installed a new portal extension"
Interfering Resource Bundles of Sample Portal and Sample Extension
------------------------------------------------------------------
Key: GTNPORTAL-2700
URL:
https://issues.jboss.org/browse/GTNPORTAL-2700
Project: GateIn Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Reporter: Peter Palaga
When I deploy both Sample Extension and Sample Portal, those bundles are used on both
/portal and /sample-portal which are accessed first: when I visit /sample-portal first,
both sample portal and extension home portlet are showing "This is the Home Page of
the "sample-portal"" and vice versa, when I visit /portal first, both are
showing "Congratulation, you just installed a new portal extension".
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira