Thanks a lot Blake !
-Yuan

On 10/17/2010 6:05 PM, Blake Sullivan (JIRA) wrote:
      [ 
https://issues.apache.org/jira/browse/TRINIDAD-1935?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Blake Sullivan resolved TRINIDAD-1935.
--------------------------------------

     Resolution: Fixed
       Assignee: Blake Sullivan  (was: Gabrielle Crawford)

Resolved in:
1.2.12.3:New Revision: 1023609
1.2.x:New Revision: 1023610
trunk:New Revision: 1023611


ChangeManager shouldn't persist changes for stamped components
--------------------------------------------------------------

                 Key: TRINIDAD-1935
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1935
             Project: MyFaces Trinidad
          Issue Type: Bug
    Affects Versions:  1.2.12-core
            Reporter: Yuan Gao
            Assignee: Blake Sullivan
             Fix For:  1.2.15-core , 2.0.0.4-core

         Attachments: cm-checkclass.patch.1.2.12.3, cm-checkclass.patch.1.2.x, 
cm-checkclass.patch.trunk

   Original Estimate: 24h
  Remaining Estimate: 24h

Today ChangeManager will persist changes to the component no matter if the 
component is a repeated component inside an UIXIterator or not. This is not 
good since if it's persisted, then the next time when the component is 
rendered, all stamped components are rendered with the change.
The fix is to crawl the component tree up and check if UIXIterator is there in 
the hierarchy, if yes, we will ignore the change.

Reply via email to