myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Struberg (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (MYFACES-2684) UIComponentBase.saveAttachedState save transient elements as null values on List case
Date Thu, 29 Apr 2010 11:27:54 GMT

    [ https://issues.apache.org/jira/browse/MYFACES-2684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12862161#action_12862161
] 

Mark Struberg commented on MYFACES-2684:
----------------------------------------

Leo, I cannot compile the checked in version of the UIComponentBase because there is a missing
'it.next()' iterator in #1434
Please see my attached patch.

> 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
>
>
> 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.


Mime
View raw message