-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG - Wrong __metadata id/uri when using a single key with Edm.Guid #666
Comments
This is fixed in version @sap-ux/ui5-middleware-fe-mockserver@2.1.114 |
Unfortunately, the patch does not fix all scenarios. If the entity has just one key using Edm.Guid then still the returned metadata is wrong. You need to add the same logic here for branch |
This doesn't only apply to |
Most likely fixed by [@sap-ux/ui5-middleware-fe-mockserver@2.1.115] |
Description
Assuming one has defined a V2 entity with a single key of type Edm.Guid, like....
The function
addV2Metadata
in dataAccess.ts composes an uri like/MyEntities(3cd0813b921744539da05c34d72ec7fa)
which is not correct. I think, the metadata uri should have the format/MyEntities(guid'3cd0813b921744539da05c34d72ec7fa')
in that case.Expected results
The __metadata id/uri should have the correct path with
ID
having the right format like/MyEntities(guid'3cd0813b921744539da05c34d72ec7fa')
.The text was updated successfully, but these errors were encountered: