[
https://issues.apache.org/jira/browse/OFBIZ-7095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15294822#comment-15294822
]
Pranay Pandey commented on OFBIZ-7095:
--------------------------------------
Done in Trunk at r1744856, R15.12 at r1744860, R14.12 at r1744862, R13.07 at
r1744864.
Thanks Chandan Khandelwal for reporting the issue and providing patch.
> 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)