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

[jira] [Assigned] (OFBIZ-6948) Days.groovy generates an error

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

Mridul Pathak reassigned OFBIZ-6948:
------------------------------------

    Assignee: Mridul Pathak

> 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: Mridul Pathak
>              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)