[ 
https://issues.apache.org/jira/browse/MYFACES-2356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12804956#action_12804956
 ] 

Jakob Korherr commented on MYFACES-2356:
----------------------------------------

I'm sorry that I don't have time to test this right now (I'm a little busy with 
university stuff), but please also check the behavior of UISelectMany 
components before the release, because they also use most of this code!

> HtmlRadioRendererBase calls converter method getAsString() not with the 
> object, but with the string version when an validation error occured
> --------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-2356
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2356
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: General
>            Reporter: Jakob Korherr
>            Assignee: Jakob Korherr
>            Priority: Minor
>             Fix For: 2.0.0-beta
>
>         Attachments: HtmlRadioRendererBase.patch, MYFACES-2356-2.patch, 
> MYFACES-2356-3.patch
>
>
> If you have a <h:selectOneRadio> component with some SelectItems and you 
> select an item, submit it and an validation error occurs, 
> HtmlRadioRendererBase calls 
> org.apache.myfaces.shared_impl.renderkit.RendererUtils.getConvertedStringValue()
>  with the submitted value, which is not converted an therefore already the 
> string version of the SelectItem. So the provided converter tries to convert 
> the string version to the string version, which can end in strange behaviour.

-- 
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