myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Kienenberger (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (MYFACES-1295) wrong Converter on Arraytypes
Date Thu, 04 May 2006 15:24:17 GMT
    [ http://issues.apache.org/jira/browse/MYFACES-1295?page=comments#action_12377821 ] 

Mike Kienenberger commented on MYFACES-1295:
--------------------------------------------

This is a volunteer project.   There's only so much time to work on issues that don't directly
impact us.   This is a minor issue that's only been open for two days.

One thing you can do to speed up the processing of your issue is submit it as a unified diff
file attachment rather than as text in a comment.

Another thing you can do is provide an example that allows us to verify the behavior beforehand
and the behavior afterward.

Other than that, you'll need to be patient.


> wrong Converter on Arraytypes
> -----------------------------
>
>          Key: MYFACES-1295
>          URL: http://issues.apache.org/jira/browse/MYFACES-1295
>      Project: MyFaces Core
>         Type: Bug

>     Versions: 1.1.0, 1.1.1, 1.1.3-SNAPSHOT, 1.1.2, 1.1.4-SNAPSHOT
>     Reporter: Richard van Nieuwenhoven
>     Priority: Minor

>
> the method getConvertedUISelectManyValue overwrites the arrayComponentType of the ValueBinding
with the type of the first converted value.
> This is not correct when i have an array of subclasses, the arrayComponentType of the
ValueBinding should have the highest priority.
> When there is a arrayComponentType of the ValueBinding whitch is not String or Object
it should not be overwritten by the type of the first element in the array.
> fix replace "if (vb != null)" with "if (vb != null && converter != null &&
arrayComponentType == null)"

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


Mime
View raw message