Error messages from commands appear in FSMs tab
Steps to reproduce:
- Start up the standalone container using the instructions from https://gitlab.cern.ch/cms-tracker-phase2-onlinesw/deployment-and-documentation , with the
docker-compose
config modified to use v0.2.0 tags - Go to 'Commands' tab before acquiring a lease
- Attempt to run any command
- You'll then see an "Error 409: No application currently holds the lease" message in an orange box
- If you then switch to the FSMs tab, you'll still see the same box
- If you go back to the "Commands" tab, and try to run commands a two more times, when you go back to the FSMs tab, you'll then see three error boxes. There's a screenshot of this below
Expectation:
- Errors from commands are never
- The error message would disappear when you select another command/transition, or when you switch to another tab
- Alternatively: You only ever see the error message from the most recent invocation of any given command/transition, and that's only ever shown when the relevant command/transition is selected
I've seen the same behaviour with other error messages (e.g. those from using invalid values for the parameters).