[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-880) Make UISelectItems more permissive to null-values

Guy Veraghtert (JIRA) jira-events at lists.jboss.org
Mon Feb 19 09:04:32 EST 2007


    [ http://jira.jboss.com/jira/browse/JBSEAM-880?page=comments#action_12353522 ] 
            
Guy Veraghtert commented on JBSEAM-880:
---------------------------------------

Of course it is easy to work around this limitation, but this seems to me the most intuitive implementation.

> Make UISelectItems more permissive to null-values
> -------------------------------------------------
>
>                 Key: JBSEAM-880
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-880
>             Project: JBoss Seam
>          Issue Type: Patch
>          Components: JSF
>    Affects Versions: 1.1.7.GA
>            Reporter: Guy Veraghtert
>         Assigned To: Peter Muir
>            Priority: Minor
>             Fix For: 1.1.7.GA
>
>         Attachments: patch-880.txt
>
>
> The method createSelectItems(Object value) in UISelectItems is not permissive to null-values; a framework class should not die on NPE.
> This can be fixed by assigning an empty list to value when value == null

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list