Author: chris.laprun(a)jboss.com
Date: 2010-11-19 09:26:10 -0500 (Fri, 19 Nov 2010)
New Revision: 5182
Modified:
portal/trunk/component/application-registry/src/main/java/org/exoplatform/application/registry/impl/ApplicationRegistryServiceImpl.java
Log:
- GTNPORTAL-1663: Use the complete portlet context instead of just the portlet name to
avoid collisions when creating content.
Modified:
portal/trunk/component/application-registry/src/main/java/org/exoplatform/application/registry/impl/ApplicationRegistryServiceImpl.java
===================================================================
---
portal/trunk/component/application-registry/src/main/java/org/exoplatform/application/registry/impl/ApplicationRegistryServiceImpl.java 2010-11-19
14:10:00 UTC (rev 5181)
+++
portal/trunk/component/application-registry/src/main/java/org/exoplatform/application/registry/impl/ApplicationRegistryServiceImpl.java 2010-11-19
14:26:10 UTC (rev 5182)
@@ -428,7 +428,7 @@
{
PortletInfo info = portlet.getInfo();
String portletApplicationName = info.getApplicationName();
- String portletName = info.getName();
+ String portletName = portlet.getContext().getId();
// Need to sanitize portlet and application names in case they contain
characters that would
// cause an improper Application name
Show replies by date