Skip to content
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]: Using the Patch API for updating values also changes the idshort of properties #237

Open
iosb-ina-mr opened this issue Apr 11, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@iosb-ina-mr
Copy link

Contact Details

[email protected]

Describe the bug

When using the Patch endpoint (see below) to update values of submodel properties, a key and value must be specified. If the key does not match the expected idshort of the server, it is overwritten with the passed key.
/shells/{aasIdentifier}/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/$value

To reproduce

Create a submodel with any string-property and update it with the Swagger UI by defining a key-value that differs from the idshort on the server.

Screenshots

No response

Expected Behaviour

The Patch endpoint for updating values should only update the value and not the idshort.

Version

Commit: 2c90a7a

Operating System

Linux

Relevant log output

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant