Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-1935

ChangeManager shouldn't persist changes for stamped components

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.12-core
    • 1.2.14-core , 2.0.0-beta-1
    • None
    • None

    Description

      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.

      Attachments

        1. cm-checkclass.patch.trunk
          0.7 kB
          Yuan Gao
        2. cm-checkclass.patch.1.2.x
          0.7 kB
          Yuan Gao
        3. cm-checkclass.patch.1.2.12.3
          0.7 kB
          Yuan Gao

        Activity

          People

            btsulliv Blake Sullivan
            yugao Yuan Gao
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified