You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Pranay Pandey (JIRA)" <ji...@apache.org> on 2016/05/21 07:28:12 UTC

[jira] [Resolved] (OFBIZ-7095) An exception is being thrown when pagination buttons are clicked on the Calendar widget

     [ https://issues.apache.org/jira/browse/OFBIZ-7095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pranay Pandey resolved OFBIZ-7095.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 13.07.04
                   15.12.01
                   Upcoming Branch
                   14.12.01

> An exception is being thrown when pagination buttons are clicked on the Calendar widget
> ---------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-7095
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7095
>             Project: OFBiz
>          Issue Type: Bug
>          Components: workeffort
>    Affects Versions: Release Branch 13.07, Release Branch 14.12, Trunk, Release Branch 15.12
>            Reporter: Chandan Khandelwal
>            Assignee: Pranay Pandey
>             Fix For: 14.12.01, Upcoming Branch, 15.12.01, 13.07.04
>
>         Attachments: OFBIZ-7095.patch
>
>
> While clicking on the Prev or Next button from the Calendar widget in any view (Day, Week or Month) , an exception was thrown due to unparseable date format.
> The main reason behind this was due to the 'start' parameter in the parameters map. At the time of creating a valid context for "getWorkEffortEventsByPeriod", the start parameter was expected to be in Timestamp format but was actually in String.
> Exception :
>      [java] 2016-05-21 11:43:04,345 |http-nio-8443-exec-6 |ObjectType                    |W| Exception thrown while converting type: 
>      [java] org.ofbiz.base.conversion.ConversionException: java.text.ParseException: Unparseable date: "1461436200000 00:00:00.000"
>      [java] 	at org.ofbiz.base.conversion.DateTimeConverters$StringToTimestamp.convert(DateTimeConverters.java:671) ~[ofbiz-base.jar:?]
>      [java] 	at org.ofbiz.base.conversion.DateTimeConverters$StringToTimestamp.convert(DateTimeConverters.java:618) ~[ofbiz-base.jar:?]
>      [java] 	at org.ofbiz.base.util.ObjectType.simpleTypeConvert(ObjectType.java:543) [ofbiz-base.jar:?]
>      [java] 	at org.ofbiz.service.ModelService.makeValid(ModelService.java:910) [ofbiz-service.jar:?]
>      [java] 	at org.ofbiz.service.ModelService.makeValid(ModelService.java:838) [ofbiz-service.jar:?]
>      [java] 	at org.ofbiz.service.ModelService.makeValid(ModelService.java:826) [ofbiz-service.jar:?]
>      [java] 	at org.ofbiz.service.DispatchContext.makeValidContext(DispatchContext.java:192) [ofbiz-service.jar:?]
>      [java] 	at org.ofbiz.service.DispatchContext.makeValidContext(DispatchContext.java:162) [ofbiz-service.jar:?]
>      [java] 	at org.ofbiz.service.DispatchContext$makeValidContext.call(Unknown Source) [ofbiz-service.jar:?]
>      [java] 	at Days.run(Days.groovy:38) [script:?]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)