[richfaces-issues] [JBoss JIRA] (RF-11487) Metamer: rich:calendar: @showApplyButton=false causes ConvertException

Ján Jamrich (Commented) (JIRA) jira-events at lists.jboss.org
Wed Oct 19 08:11:45 EDT 2011


    [ https://issues.jboss.org/browse/RF-11487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12635751#comment-12635751 ] 

Ján Jamrich commented on RF-11487:
----------------------------------

The problem is that even valid date was selected and applied by calendar's "Apply" button, on update calendar attribute value (and rerender component) and exception is raised telling that an date is not valid. But this date is unknown - no one have set it (different value was chosen and applied, it is confirmed by display this value in output panel). And secondly - date format from exception stack trace should be considered as date format. (another thing is that calendar pattern to set date is different - so maybe this is problem).

Anyway, exception is raised as convert exception, and I am not sure why there is convert behavior invoked as well.
                
> Metamer: rich:calendar: @showApplyButton=false causes ConvertException
> ----------------------------------------------------------------------
>
>                 Key: RF-11487
>                 URL: https://issues.jboss.org/browse/RF-11487
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-input
>    Affects Versions: 4.1.0.Milestone2
>         Environment:     RichFaces 4.1.0.20110910-M2 r.
>     Metamer 4.1.0.20110910-M2 r.22701
>     Mojarra 2.0.4-b09-jbossorg-4
>     JBoss Web 7.0.1.Final
>     Java(TM) SE Runtime Environment 1.6.0_26-b03 @ Linux
>     Mozilla/5.0 (X11; Linux i686; rv:7.0) Gecko/20100101 Firefox/7.0
>            Reporter: Ján Jamrich
>            Assignee: Ján Jamrich
>
> set @showApplyButton = false raise following error:
> {quote}
> javax.faces.convert.ConverterException: form:calendar: 'Thu Sep 01 02:00:00 CEST 2011' could not be understood as a date.
> {quote}
> Even value was selected from calendar and submitted by button without validation errors (Sep 14, 2011 13:03, output: Sep 14, 2011 13:03)
> Another value set and submitted: Sep 2, 2011 10:09,  and error the same as above (with Sep 1)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the richfaces-issues mailing list