You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Ramya (JIRA)" <ji...@apache.org> on 2019/06/17 06:14:00 UTC

[jira] [Created] (OLINGO-1367) OData V2: Issue with EdmTime

Ramya created OLINGO-1367:
-----------------------------

             Summary: OData V2: Issue with EdmTime
                 Key: OLINGO-1367
                 URL: https://issues.apache.org/jira/browse/OLINGO-1367
             Project: Olingo
          Issue Type: Bug
            Reporter: Ramya


As per the specification https://www.odata.org/documentation/odata-version-2-0/overview/ Edm Time should be defined by the lexical representation for dayTimeDuration in http://www.w3.org/TR/xmlschema11-2/#dayTimeDuration.
Currently if user provides time value like P00DT18H03M08S, we get an error
               "Caused by: org.apache.olingo.odata2.api.ep.EntityProviderException: An exception of type 'EdmSimpleTypeException' occurred.",
               "\t... 107 more",
               "Caused by: org.apache.olingo.odata2.api.edm.EdmSimpleTypeException: The literal 'P00DT18H03M08S' is not formatted properly.",
                "\tat org.apache.olingo.odata2.core.edm.EdmTime.internalValueOfString(EdmTime.java:71)",




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)