[
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"
EDIT: The statement made in (4) can be made more precise as follows: Both /sample-portal
and /portal show the same text for the given run of GateIn. However, the text differs
between the individual runs of GateIn. Sometimes it is (a) ""This is the Home
Page of the "sample-portal""" and sometimes it is (b)
"Congratulation, you just installed a new portal extension". (a) is more
frequent. Occurence of (a) vs. (b) seems to be random. Esp. it does not depend on the
order of the first invocation of /sample-portal and /portal as I conjectured originally.
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
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"
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, only bundles from the sample
portal EAR are used. Both sample portal and extension home portlet are showing "This
is the Home Page of the "sample-portal"". The extension at /portal should
show "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