Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-6948

Days.groovy generates an error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • Trunk
    • None
    • workeffort

    Description

      When accessing a calendar day in workeffort the Days.groovy generates following error:

           [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:?]
      
      

      Attachments

        Issue Links

          Activity

            People

              pandeypranay Pranay Pandey
              pierresmits Pierre Smits
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: