Bug 793285 (JBEPP-369)

Summary: Exception in app.registry when having two JSR286 portlets with same portlet-name but different portlet application
Product: [JBoss] JBoss Enterprise Portal Platform 5 Reporter: mposolda
Component: unspecifiedAssignee: Default User <jbpapp-maint>
Status: CLOSED WONTFIX QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 5.0.0.GA, 5.0.1.GACC: epp-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/JBEPP-369
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
EPP 5.0.0.GA
Last Closed: 2012-01-16 13:40:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
appRegistry-2sameNamePortlets-exception.txt none

Description mposolda 2010-05-18 15:57:54 UTC
project_key: JBEPP

There is exception in application registry when there are 2 JSR-286 portlets deployed and both have same portlet-name configured in portlet.xml (tested with 2 protlets from different applications). 

Most easy scenario to simulate is with "simplesthelloworld" and "idmhelloworld" applications from portlet examples (both of them have portlet called "SimplestHelloWorldPortlet" in portlet.xml )

Steps to reproduce:

1) Build and deploy "simplesthelloworld" application from doc packaging (located in epp5 docs-zip under jboss-epp-5.0-docs/epp-doc/examples/portlets )
2) Build and deploy "idmhelloworld" application from doc packaging (located in epp5 docs-zip under jboss-epp-5.0-docs/epp-doc/examples/portlets )
3) Start EPP5
4) Login as root in EPP5 and go to application registry (issue1: I have 2 portlets called "SimplestHelloWorldPortlet" in categories and I don't know which belongs to simplesthelloworld application and which to idmhelloworldapplication)
5) Add first SimplestHelloWorldPortlet to some category in application registry.
6) Add second SimplestHelloWorldPortlet to some category in application registry. Now I am seeing Unknown error and Exception in server.log (attached exception stacktrace)

Comment 1 mposolda 2010-05-18 15:58:47 UTC
Attachment: Added: appRegistry-2sameNamePortlets-exception.txt


Comment 2 Jared MORGAN 2011-11-18 00:46:54 UTC
Release Notes Docs Status: Added: Not Required