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: 2.0.0-beta-2, 1.2.14-core
Reporter: Andrew Robinson
Assignee: Andrew Robinson
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