[
https://issues.apache.org/struts/browse/WW-2540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44289#action_44289
]
Rajeev kumar commented on WW-2540:
----------------------------------
I am using struts 2.0.11. Still i am getting 'datetimepicker ' JS error for non
date format like 'abc'.
Some other cases also throws this error. When we are using s:autocompleter and
selecting last option multiple times.
All above case breaks JS with line :4872, char: 1, Error:[object Error]
If this issue is fixed, then please provide us struts version details.
> datetimepicker cause a javascript error if entered some non-date chars then
> lose focus BEFORE choose a date
> -----------------------------------------------------------------------------------------------------------
>
> Key: WW-2540
> URL: https://issues.apache.org/struts/browse/WW-2540
> Project: Struts 2
> Issue Type: Bug
> Components: Plugin - Dojo Tags
> Affects Versions: 2.0.11
> Environment: XP SP2 ,IE 7.0
> Reporter: andvar woo
> Priority: Minor
> Fix For: 2.1.3
>
> Attachments: screenshot-1.jpg
>
>
> I use this tag and find a bug for it.
> when you enter some non-date format characters such as 'abvc' BEFORE choose a
> date,then kill focus for the datatimepicter,you get a javascript error :
> -------------------------------------------------------------------
> Line:4872
> Char:1
> Code:0
> Error:[object Error]
> site:http://localhost/struts2-showcase-2.0.11/tags/ui/datepicker/
> ------------------------------------------------------------------
> you can try the examples offered with the struts-2.0.11-all.zip.
> http://localhost/struts2-showcase-2.0.11/tags/ui/datepicker/
> the value for the "US format" is empty,then enter some non-date format
> charcters BEFORE choose a date,then kill focus
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.