Hide Forgot
project_key: JBEPP Otherwise if you deploy both example .war, you get java.lang.IllegalArgumentException: Cannot create a content with a content id gatein-simplest-helloworld-1.0.0-GA-SNAPSHOT/SimplestHelloWorldPortlet with an existing different content id gatein-idm-helloworld-1.0.0-GA-SNAPSHOT/SimplestHelloWorldPortlet at org.exoplatform.application.registry.impl.CategoryDefinition.createContent(CategoryDefinition.java:132) at org.exoplatform.application.registry.impl.ApplicationRegistryServiceImpl.importAllPortlets(ApplicationRegistryServiceImpl.java:525) at org.exoplatform.applicationregistry.webui.component.UIApplicationOrganizer$ImportAllApplicationsActionListener.execute(UIApplicationOrganizer.java:270) at org.exoplatform.webui.event.Event.broadcast(Event.java:89) at org.exoplatform.webui.core.lifecycle.Lifecycle.processAction(Lifecycle.java:56) at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:137) at org.exoplatform.webui.core.lifecycle.UIApplicationLifecycle.processAction(UIApplicationLifecycle.java:58) at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:137)
Will be fixed later, as it is part of the examples
Thomas can you verify the proposed Release Notes Text when you resolve this issue, please?
Release Notes Docs Status: Added: Not Yet Documented Release Notes Text: Added: Projected Release Notes text: A naming duplication in pre-packaged "Hello World" portlet examples would cause an Illegal Argument Exception when both of the portlet examples were deployed. This issues has been resolved by renaming the XYZ portlet to ABC.
Release Notes Docs Status: Removed: Not Yet Documented Added: Documented as Resolved Issue
There are more than 2 portlets so it would be better to be more explicit. A portlet-name duplication in "Simplest Hello World" and "IDM Hello World" examples would cause an Illegal Argument Exception when both of the portlet examples were deployed.
Thomas, what was the fix? I assume one of the portlets was renamed, which one and to what? I need to update both the Release Notes and the appropriate core doc.
Release Notes Text: Removed: Projected Release Notes text: A naming duplication in pre-packaged "Hello World" portlet examples would cause an Illegal Argument Exception when both of the portlet examples were deployed. This issues has been resolved by renaming the XYZ portlet to ABC. Added: A naming duplication in the pre-packaged "Simplest Hello World" and "IDM Hello World" portlet examples caused an Illegal Argument Exception when both of the portlet examples were deployed.