[
https://issues.apache.org/jira/browse/OLINGO-1367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16882704#comment-16882704
]
Ramya commented on OLINGO-1367:
-------------------------------
Another small fix
https://git-wip-us.apache.org/repos/asf?p=olingo-odata2.git;a=commit;h=6f2083a5af1bd24b21479cf4a15d3bcd22041d00
> OData V2: Issue with EdmTime
> ----------------------------
>
> Key: OLINGO-1367
> URL: https://issues.apache.org/jira/browse/OLINGO-1367
> Project: Olingo
> Issue Type: Bug
> Reporter: Ramya
> Priority: Major
>
> 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.14#76016)