-
Bug
-
Resolution: Duplicate
-
Normal
-
None
-
2.1.2
-
None
-
IE 10.0.9200.16443
2013-07-05 11.30.26 org.zkoss.zk.ui.impl.UiEngineImpl handleError:1352
SEVERE: >>java.lang.NumberFormatException: For input string: "591.4199829101562"
>> at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
>> at java.lang.Integer.parseInt(Integer.java:458)
>> at java.lang.Integer.parseInt(Integer.java:499)
>> at org.zkoss.calendar.event.CalendarsEvent.getInt(CalendarsEvent.java:127)
>> at org.zkoss.calendar.event.CalendarsEvent.getEditEvent(CalendarsEvent.java:97)
>> at org.zkoss.calendar.Calendars.service(Calendars.java:939)
>> at org.zkoss.zk.ui.impl.DesktopImpl.service(DesktopImpl.java:698)
>> at org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:1194)
>> at org.zkoss.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.java:583)
>> at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:481)
>> at org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:489)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>> at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
>> at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
>> at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
>> at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
>> at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)
>> at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
>> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
>> at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
>> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
...
IE10 sends the following POST request body when clicking on an event: dtid=z_0&cmd_0=onEventEdit&uuid_0=lG4C03&data_0=
{"data":["lG4Cyf",504,806.4199829101562,1009,1054]}org.zkoss.calendar.event.CalendarsEvent.getEditEvent() expects the data to contain integer values and as such explodes.
The exception happens when the Calendar is embedded in an iframe.