[ 
https://issues.apache.org/jira/browse/MYFACES-1295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mike Kienenberger updated MYFACES-1295:
---------------------------------------

    Status: Open  (was: Patch Available)

> wrong Converter on Arraytypes
> -----------------------------
>
>                 Key: MYFACES-1295
>                 URL: https://issues.apache.org/jira/browse/MYFACES-1295
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 1.1.3
>            Reporter: Richard van Nieuwenhoven
>         Assigned To: Martin Marinschek
>            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.
-
You can reply to this email to add a comment to the issue online.

Reply via email to