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

Michael Kurz commented on MYFACES-2356:
---------------------------------------

Hi Leonardo, patch MYFACES-2356-3 works for me without problems. We could 
probably completely remove RendererUtils.NOTHING but preferably not before the 
beta release as this should not have any impact. I will create another issue 
and a patch.

> 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