eclipse-aaspe / server

C# based server for AASX packages
Other
72 stars 52 forks source link

[Bug]: Creating a Shell via POST:/shells is not persistent #240

Open BohnSeb opened 7 months ago

BohnSeb commented 7 months ago

Contact Details

No response

Describe the bug

Creating a Shell over the REST API creates the shell successfully. However after a server restart the shell is no longer existing. I believe this was not the case in the v2023-09-13A release. Using DB instead doesn't help, it doesn't get saved.

To reproduce

Create a Shell using a POST request and restart the server. The shell will no longer be displayed or available via rest requests.

Screenshots

![DESCRIPTION](LINK.png)

Expected Behaviour

The Shell should be saved on file system in the data-path specified folder or in the database, so it is available after restarting the server.

Version

2023-11-17A

Operating System

Windows

Relevant log output

No response

BohnSeb commented 6 months ago

There is a workaround for this. If you download the package one time it get's created locally. However if things get manipulated via the rest api the changes are then not written to the harddrive, even if you apply the same trick again