[
https://issues.apache.org/jira/browse/OFBIZ-6948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pranay Pandey closed OFBIZ-6948.
--------------------------------
Resolution: Duplicate
[OFBIZ-7095] Fixes this issue. Closing it.
> Days.groovy generates an error
> ------------------------------
>
> Key: OFBIZ-6948
> URL:
https://issues.apache.org/jira/browse/OFBIZ-6948> Project: OFBiz
> Issue Type: Bug
> Components: workeffort
> Affects Versions: Trunk
> Reporter: Pierre Smits
> Assignee: Pranay Pandey
> Labels: calendar, groovy
>
> When accessing a calendar day in workeffort the Days.groovy generates following error:
> {code}
> [java] org.ofbiz.base.conversion.ConversionException: java.text.ParseException: Unparseable date: "1459375200000 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 org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48) [groovy-all-2.4.5.jar:2.4.5]
> [java] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113) [groovy-all-2.4.5.jar:2.4.5]
> [java] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:141) [groovy-all-2.4.5.jar:2.4.5]
> [java] at Days.run(Days.groovy:38) [script:?]
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)