Closed oliverdlr closed 4 years ago
Hi, thanks for the detailed report.
Due to an erroneous server-side refactoring a few releases back, the server is discarding the request body, hence this error message. I fixed it server-side in https://github.com/yamcs/yamcs/pull/387, together with other related fixups.
Meanwhile I noticed that when creating a new Tag/Annotation from Yamcs Studio, the tag does not become visible unless refreshing the view. A fix for this was pushed to master of this repo.
So both Yamcs and Yamcs Studio should support annotations properly again with their next releases.
When trying to set an annotation using Yamcs-Studio the following console output is generated:
Exception while executing job 'POST /api/archive/hp3/tags': Name is required
However, a capture with tcpdump shows that the name - along with other arguments - was specified. (See below: 'myName' )
The server log contained the following lines:
16:18:23.529 _global [36] RouteHandler 199: Responding '400 Bad Request': Name is required 16:18:23.529 _global [36] HttpRequestHandler 377c3d9c POST /api/archive/hp3/tags 400
Yamcs-Studio: Windows V1.3.3 Yamcs: V4.10.8
During previous tests it already failed using Studio V1.3.2 and Server V4.10.5. (V1.3.3 would not connect to V4.10.5)
Is there anything else that needs to be configured in order to use annotations?