[
https://issues.apache.org/jira/browse/MYFACES-2684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12862268#action_12862268
]
Jakob Korherr commented on MYFACES-2684:
----------------------------------------
Hi Mark, Leo!
I just ran into the same problem. It is really just a copy and paste error from
Leonardo that causes this Compilation failure, because on 1.1.x and 1.2.x an
Iterator is used and on 2.0.x an enhanced for loop is used. So the Iterator is
wrong on 2.0.x.
Since this is _really_ easy, I will commit it myself.
Regards,
Jakob
> UIComponentBase.saveAttachedState save transient elements as null values on
> List case
> -------------------------------------------------------------------------------------
>
> Key: MYFACES-2684
> URL: https://issues.apache.org/jira/browse/MYFACES-2684
> Project: MyFaces Core
> Issue Type: Bug
> Affects Versions: 1.1.7, 1.2.8
> Reporter: Leonardo Uribe
> Assignee: Leonardo Uribe
> Fix For: 1.1.8-SNAPSHOT, 1.2.9-SNAPSHOT, 2.0.1-SNAPSHOT
>
> Attachments: MYFACES-2684.patch
>
>
> UIComponentBase.saveAttachedState needs a null check when a List object is
> saved. Elements that implements StateHolder and are transient just return
> null, so if we save a list like facesListeners, we end adding null values to
> the List.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.