Author: thomas.heute(a)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))
{