Replies: 2 comments 3 replies
-
|
Thank you for reporting the issue. I can confirm that this case doesn't seem to be handled properly in the kernel / web API, yet. We will look into this as soon as time permits. Contributions to the openTCS project (e.g. in the form of pull requests) are very welcome. If you are planning on contributing, please take a look at the contributing guidelines (CONTRIBUTING.adoc) first and consider creating a proper issue for this. |
Beta Was this translation helpful? Give feedback.
-
|
Hi, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Uploading invalid plant models can crash the tcs.
Particularly trying to put model to the /plant_model endpoint with a duplicate path crashes the tcs.
I looked into the code, and if I understand correctly, exceptions in V1RequestHandler.java are more or less not handled.
I feel that that handleXYrequest should catch exceptions and refuse requests. Do you agree, and, if so accept a pull request?
Beta Was this translation helpful? Give feedback.
All reactions