You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Mike Kienenberger (JIRA)" <de...@myfaces.apache.org> on 2007/03/29 23:24:25 UTC
[jira] Commented: (MYFACES-1295) wrong Converter on Arraytypes
[ https://issues.apache.org/jira/browse/MYFACES-1295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12485354 ]
Mike Kienenberger commented on MYFACES-1295:
--------------------------------------------
Removing patch available status -- no patch available in unified diff format after one year.
> 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.