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

UIXCollection saves the stamp state when there is no stamp

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.14-core , 2.0.0-beta-2
    • 1.2.15-core , 2.0.1-core
    • Components
    • None

    Description

      UIXCollection in the preRowDataChange saves the current stamp state. The problem is that the code does not check to see if there is a current stamp. The result, is child components may not correctly function if they expect to be inside a valid stamp. What happens is that when the collection first sets its row key/index, the stamp state is saved for index -1 (row key null). Children components that assume that the collection is processing a stamp may error out. There should be no reason why the stamp state is being saved when there is no stamp.

      I have come across user's of our code where they are getting exceptions in their code as a result.

      Attachments

        Activity

          People

            arobinson74 Andrew Robinson
            arobinson74 Andrew Robinson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: