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.
Contact Details
marc.riedlinger@iosb-ina.fraunhofer.de
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