incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1140101 - /sling/whiteboard/portal/container/src/main/java/org/apache/sling/portal/container/internal/services/DefaultPortletPreferencesService.java
Date Mon, 27 Jun 2011 10:58:41 GMT
Author: cziegeler
Date: Mon Jun 27 10:58:41 2011
New Revision: 1140101

URL: http://svn.apache.org/viewvc?rev=1140101&view=rev
Log:
SLING-2104 : UnsupportedOperationException in DefaultPortletPreferencesService.store. Apply
patch from Antonio Sanso

Modified:
    sling/whiteboard/portal/container/src/main/java/org/apache/sling/portal/container/internal/services/DefaultPortletPreferencesService.java

Modified: sling/whiteboard/portal/container/src/main/java/org/apache/sling/portal/container/internal/services/DefaultPortletPreferencesService.java
URL: http://svn.apache.org/viewvc/sling/whiteboard/portal/container/src/main/java/org/apache/sling/portal/container/internal/services/DefaultPortletPreferencesService.java?rev=1140101&r1=1140100&r2=1140101&view=diff
==============================================================================
--- sling/whiteboard/portal/container/src/main/java/org/apache/sling/portal/container/internal/services/DefaultPortletPreferencesService.java
(original)
+++ sling/whiteboard/portal/container/src/main/java/org/apache/sling/portal/container/internal/services/DefaultPortletPreferencesService.java
Mon Jun 27 10:58:41 2011
@@ -239,7 +239,7 @@ public class DefaultPortletPreferencesSe
                 if ( !prop.getName().startsWith("jcr:") ) {
                     final String propName = PortalUtil.decodePropertyName(prop.getName());
                     if ( !preferences.containsKey(propName) ) {
-                        pI.remove();
+                        prop.remove();
                     }
                 }
             }



Mime
View raw message