[ 
http://issues.apache.org/jira/browse/MYFACES-1295?page=comments#action_12377730 
] 

Richard van Nieuwenhoven commented on MYFACES-1295:
---------------------------------------------------

this bug was found in context of issue [TOBAGO-59]. This is important for 
me!!!. Could somebody apply my patch? or tell me why my patch is not correct? 
thanks
Ritchie


> 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

Reply via email to