[portal-commits] JBoss Portal SVN: r13049 - branches/JBoss_Portal_Branch_2_7/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:12:25 EDT 2009
Author: thomas.heute at 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))
{
More information about the portal-commits
mailing list