Author: thomas.heute(a)jboss.com
Date: 2009-03-18 12:12:25 -0400 (Wed, 18 Mar 2009)
New Revision: 13049
Modified:
branches/JBoss_Portal_Branch_2_7/portlet-server/src/main/org/jboss/portal/portlet/deployment/PortletApplicationModelFactory.java
Log:
JBPORTAL-2348: Portlet cache scope is case sensitive in portlet.xml
Modified:
branches/JBoss_Portal_Branch_2_7/portlet-server/src/main/org/jboss/portal/portlet/deployment/PortletApplicationModelFactory.java
===================================================================
---
branches/JBoss_Portal_Branch_2_7/portlet-server/src/main/org/jboss/portal/portlet/deployment/PortletApplicationModelFactory.java 2009-03-18
16:10:41 UTC (rev 13048)
+++
branches/JBoss_Portal_Branch_2_7/portlet-server/src/main/org/jboss/portal/portlet/deployment/PortletApplicationModelFactory.java 2009-03-18
16:12:25 UTC (rev 13049)
@@ -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))
{
Show replies by date