OFBiz
  1. OFBiz
  2. OFBIZ-2139

Service validation doesnt accept timestamp format 2009-01-15T00:00:00.000Z

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: Trunk
    • Fix Version/s: None
    • Component/s: framework
    • Labels:
      None
    • Environment:

      WinXP / JDK1.6 / Postgre8.3

    • Sprint:
      Bug Crush Event - 21/2/2015

      Description

      When I request a value of type timestamp through a SOAP service call, the value returned has the format '2009-01-15T00:00:00.000Z'. When I return the same value as IN parameter to another service for updating the same field the value is not accepted as a valid timestamp.

      Error is:

      2009-01-25 18:54:44,919 (TP-Processor3) [ RequestHandler.java:326:ERROR] Request SOAPService caused an error with the following message: Error calling event: org.ofbiz.webapp.event.EventHandlerException: Type check failed for field [updateRelative.thruDate]; expected type is [java.sql.Timestamp]; actual type is [java.lang.String] (Type check failed for field [updateRelative.thruDate]; expected type is [java.sql.Timestamp]; actual type is [java.lang.String])

      Expected behavior > 2 options:
      1. format 2009-01-15T00:00:00.000Z should be accepted as a valid timestamp
      2. timestamp should be returned by SOAP service as '2009-01-15 00:00:00.000'

        Activity

        Adil BEN EL KHATTAB created issue -
        Gavin made changes -
        Field Original Value New Value
        Workflow jira [ 12451026 ] OFbiz Workflow [ 12507063 ]
        Sharan Foga made changes -
        Sprint Bug Crush Event - 21/2/2015 [ 91 ]
        Sharan Foga made changes -
        Rank Ranked higher
        Sharan Foga made changes -
        Rank Ranked higher
        Sharan Foga made changes -
        Rank Ranked higher

          People

          • Assignee:
            Unassigned
            Reporter:
            Adil BEN EL KHATTAB
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development

                Agile