cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruno Dumon (JIRA)" <>
Subject [jira] Commented: (COCOON-1571) [PATCH] NullPointerException in MultiValueField
Date Fri, 20 Jan 2006 15:16:43 GMT
    [ ] 

Bruno Dumon commented on COCOON-1571:

IMO the locale parameter should not be null. Otherwise we might need to add such a check to
every widget. I think it would be better to fix the place where this code is getting called
so that the locale parameter is never null.

> [PATCH] NullPointerException in MultiValueField
> -----------------------------------------------
>          Key: COCOON-1571
>          URL:
>      Project: Cocoon
>         Type: Bug
>   Components: Blocks: Forms
>     Versions: 2.2-dev (Current SVN)
>  Environment: Operating System: other
> Platform: Other
>     Reporter: Peter Brant
>     Assignee: Jean-Baptiste Quenot
>  Attachments: multivaluefield.patch,
> If the locale is not specified and the selection list is being created 
> dynamically, a NullPointerException can result (in my specific case, it was the 
> DataType implementation using the locale as part of formatting a number).
> Patch is attached.  It just uses the same technique that Field already uses.  
> Patch is against 2.2, but if this could make it into the next 2.1 release too, 
> that would be great.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message