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]: Can't update submodel with database support enabled although returned status is OK #234

Open
heidrjeSICKAG opened this issue Apr 9, 2024 · 1 comment
Labels
database enhancement New feature or request

Comments

@heidrjeSICKAG
Copy link

Contact Details

No response

Describe the bug

I'm trying to update a value of a single property of a submodel. I tried different approaches like
PUT /submodels/{submodelIdentifier} or
PATCH /submodels/{submodelIdentifier} as well as directly on the value itself via
PATCH /submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/$value
If the database is enabled the data isn't persisted although the server returns a 204 status code. As soon as the database support is disabled the requests works as expected and subsequent GET requests on the submodel and the Web UI return the updated value.

To reproduce

  1. Enable database support with the --with-db start parameter.
  2. Issue update request for a submodel or a value
  3. Data hasn't been updated

Screenshots

No response

Expected Behaviour

Data should be updated and persisted with database enabled.

Version

No response

Operating System

Linux

Relevant log output

No response

@heidrjeSICKAG heidrjeSICKAG added the bug Something isn't working label Apr 9, 2024
@aorzelskiGH
Copy link
Contributor

Since this is not implemented in the code actually, it is a feature request, although it looks like a bug.

@juileetikekar juileetikekar added enhancement New feature or request database and removed bug Something isn't working labels Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
database enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants