[
https://issues.apache.org/jira/browse/TRINIDAD-2047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Robinson resolved TRINIDAD-2047.
---------------------------------------
Resolution: Fixed
Fix Version/s: (was: 2.0.0)
(was: 1.2.15-core )
2.0.1
- backed out my previous change
- added comments to the code to explain what it is actually doing
- added a work-around to UIXTable to prevent the getCollectionModel() from
being called during the saving of stamp state
> UIXCollection saves the stamp state when there is no stamp
> ----------------------------------------------------------
>
> Key: TRINIDAD-2047
> URL: https://issues.apache.org/jira/browse/TRINIDAD-2047
> Project: MyFaces Trinidad
> Issue Type: Bug
> Components: Components
> Affects Versions: 1.2.14-core , 2.0.0-beta-2
> Reporter: Andrew Robinson
> Assignee: Andrew Robinson
> Fix For: 2.0.1
>
>
> 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.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira