Author: thomas.heute(a)jboss.com
Date: 2010-11-25 05:45:22 -0500 (Thu, 25 Nov 2010)
New Revision: 5268
Modified:
epp/portal/branches/EPP_5_1_Branch/component/application-registry/src/main/java/org/exoplatform/application/registry/impl/ApplicationRegistryServiceImpl.java
Log:
JBEPP-677: Use the complete portlet context instead of just the portlet name to avoid
collisions when creating content.
Modified:
epp/portal/branches/EPP_5_1_Branch/component/application-registry/src/main/java/org/exoplatform/application/registry/impl/ApplicationRegistryServiceImpl.java
===================================================================
---
epp/portal/branches/EPP_5_1_Branch/component/application-registry/src/main/java/org/exoplatform/application/registry/impl/ApplicationRegistryServiceImpl.java 2010-11-25
10:43:28 UTC (rev 5267)
+++
epp/portal/branches/EPP_5_1_Branch/component/application-registry/src/main/java/org/exoplatform/application/registry/impl/ApplicationRegistryServiceImpl.java 2010-11-25
10:45:22 UTC (rev 5268)
@@ -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