You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When Updating a file SubmodelElement (without changing the value of the file SME), the attachment file get's deleted. This is due to how updating the element works. First the Element get's deleted and then replaced by the new element coming from the users request. Deleting the element includes the deletion of the attachment.
To Reproduce
Steps to reproduce the behavior:
Go to a file SME including an attachment
Update the file SME via PUT request (e.g. the desciption)
try to fetch the attachment again of that file SME
See a 404 error
Expected behavior
When the path does not get updated or the file deleted entirely, the attachment should not get removed.
BaSyx (please complete the following information):
BaSyx Version: 2.0.0-SNAPSHOT
BaSyx SDK: Java V2
AAS Version: DotAAS V3
The text was updated successfully, but these errors were encountered:
Describe the bug
When Updating a file SubmodelElement (without changing the value of the file SME), the attachment file get's deleted. This is due to how updating the element works. First the Element get's deleted and then replaced by the new element coming from the users request. Deleting the element includes the deletion of the attachment.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
When the path does not get updated or the file deleted entirely, the attachment should not get removed.
BaSyx (please complete the following information):
The text was updated successfully, but these errors were encountered: