[ http://issues.apache.org/jira/browse/MYFACES-611?page=comments#action_12330506 ]
Adam Winer commented on MYFACES-611: ------------------------------------ When a ConverterException is thrown during Apply Request Values or Process Validations, the component (not the renderer) should be catching it and adding the FacesMessage for the component, yup. UIInput should already be doing this. If it happens during Render Response, you likely don't want to add a message (it's probably too late, at least for UIMessages) - and this is kind of a weird, programmer error scenario, not a user error scenario, so showing an error message ot the user isn't especially helpful. I would instead catch it in the Renderer, send it to the Logger, and move on. > ConverterException is not properly handled in several instances > --------------------------------------------------------------- > > Key: MYFACES-611 > URL: http://issues.apache.org/jira/browse/MYFACES-611 > Project: MyFaces > Type: Bug > Components: JSR-127 > Versions: 1.1.0 > Reporter: sean schofield > > Its my understanding that when a ConverterException is thrown that it should > be caught by the component or renderer and a conversion error message added > for the component in question. This is not happening in all cases. One > example is RendererUtils::getConvertedUIOutputValue. Also, in order to > minimize the duplication of this code classes that are doing there own > conversion (HtlmlCalendarRenderer) should be changed to use RendererUtils. -- 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
