sap.ui.core.util.MockServer: issue when EDM.DateTimeOffset in key predicate
OpenUI5 version: 1.3X.X
Steps to reproduce the problem:
- Create an entity with 2 key fields one of the properties is type EDM.DateTimeOffset
- Query the Entity using mockdata
- Inspect the results
What is the expected result? context path should look like /MyEntity(Key1='1234',Key2=datetimeoffset'2016-04-30T16%3A00%3A00Z')
What happens instead? in the Mockserver i can see the query is not parsing JSON Date
/MyEntity(Key1='1234',Key2=Date(1234567890)')
the result is the OData Model Context path resembles ')'
Any other information? (attach screenshot if possible) if i change Key2 to type EDM.DateTime I get the following expected result
/MyEntity(Key1='1234',Key2=datetime'2016-04-30T16%3A00%3A00Z')
Hi John,
I forwarded this internally as 1670303058 to the team that knows better about this kind of things than I do...
Regards Andreas
Hi John, MockServer doesn't support EDM.DateTimeOffset properties. See documentation: https://openui5.hana.ondemand.com/#docs/guide/3459c372aaaa4c31ab87bb0e174adcc3.html Thanks, Alex
Hi Alex, FYI - the entire non-SAP world does not have access to your internal servers #justsaying
@grahamrobbo: thanks :-)