You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Andrew Robinson (JIRA)" <de...@myfaces.apache.org> on 2011/03/02 23:08:37 UTC

[jira] Resolved: (TRINIDAD-2047) UIXCollection saves the stamp state when there is no stamp

     [ 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: 2.0.5-plugins
                   1.2.15-core 

> 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: 1.2.15-core , 2.0.5-plugins
>
>
> 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