You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bs...@apache.org on 2011/02/02 05:48:29 UTC

svn commit: r1066326 - /myfaces/trinidad/branches/1.2.12.3.3-branch/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/UIXCollection.java

Author: bsullivan
Date: Wed Feb  2 04:48:29 2011
New Revision: 1066326

URL: http://svn.apache.org/viewvc?rev=1066326&view=rev
Log:
TRINIDAD-2024 UIXCollection holding only to application data

Null out state references during state saving

Modified:
    myfaces/trinidad/branches/1.2.12.3.3-branch/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/UIXCollection.java

Modified: myfaces/trinidad/branches/1.2.12.3.3-branch/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/UIXCollection.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/1.2.12.3.3-branch/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/UIXCollection.java?rev=1066326&r1=1066325&r2=1066326&view=diff
==============================================================================
--- myfaces/trinidad/branches/1.2.12.3.3-branch/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/UIXCollection.java (original)
+++ myfaces/trinidad/branches/1.2.12.3.3-branch/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/UIXCollection.java Wed Feb  2 04:48:29 2011
@@ -267,6 +267,10 @@ public abstract class UIXCollection exte
     {
       stampState = iState._stampState;
       clientKeyMgr = iState._clientKeyMgr;
+      
+      // Make sure that we are not holding on to any application data in our state
+      iState._value = null;
+      iState._model= null;
     }
     else
     {