[portal-commits] JBoss Portal SVN: r13047 - branches/Enterprise_Portal_Platform_4_3/portlet-server/src/main/org/jboss/portal/portlet/deployment.

portal-commits at lists.jboss.org portal-commits at lists.jboss.org
Wed Mar 18 12:08:17 EDT 2009


Author: thomas.heute at jboss.com
Date: 2009-03-18 12:08:17 -0400 (Wed, 18 Mar 2009)
New Revision: 13047

Modified:
   branches/Enterprise_Portal_Platform_4_3/portlet-server/src/main/org/jboss/portal/portlet/deployment/PortletApplicationModelFactory.java
Log:
JBEPP-48: Portlet cache scope is case sensitive in portlet.xml

Modified: branches/Enterprise_Portal_Platform_4_3/portlet-server/src/main/org/jboss/portal/portlet/deployment/PortletApplicationModelFactory.java
===================================================================
--- branches/Enterprise_Portal_Platform_4_3/portlet-server/src/main/org/jboss/portal/portlet/deployment/PortletApplicationModelFactory.java	2009-03-18 09:01:02 UTC (rev 13046)
+++ branches/Enterprise_Portal_Platform_4_3/portlet-server/src/main/org/jboss/portal/portlet/deployment/PortletApplicationModelFactory.java	2009-03-18 16:08:17 UTC (rev 13047)
@@ -525,7 +525,7 @@
          }
          else if ("cache-scope".equals(localName) && PORTLET_JSR_286_NS.equals(nsURI))
          {
-            md.setCacheScope(PortletCacheScopeEnum.valueOf(value));
+            md.setCacheScope(PortletCacheScopeEnum.valueOf(value.toUpperCase()));
          }
          else if ("expiration-cache".equals(localName))
          {




More information about the portal-commits mailing list