[
https://issues.apache.org/jira/browse/MYFACES-2356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12804907#action_12804907
]
Leonardo Uribe commented on MYFACES-2356:
-----------------------------------------
Attached there is a patch implementing the new line added on renderkitdocs.
Michael, could you confirm if this patch works as expected?
> 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.