You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Arun Patidar (Jira)" <ji...@apache.org> on 2026/07/01 12:40:00 UTC

[jira] [Assigned] (OFBIZ-2139) Service validation doesnt accept timestamp format 2009-01-15T00:00:00.000Z

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

Arun Patidar reassigned OFBIZ-2139:
-----------------------------------

    Assignee: Arun Patidar  (was: Deepak Dixit)

> Service validation doesnt accept timestamp format  2009-01-15T00:00:00.000Z
> ---------------------------------------------------------------------------
>
>                 Key: OFBIZ-2139
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2139
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Trunk, Upcoming Branch
>         Environment: WinXP / JDK1.6 / Postgre8.3
>            Reporter: Adil BEN EL KHATTAB
>            Assignee: Arun Patidar
>            Priority: Major
>
> 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'



--
This message was sent by Atlassian Jira
(v8.20.10#820010)