Log registers status change while this did not happen
someren opened this issue · 1 comments
someren commented
After changing the categorie of a signal, the log also registers that the status of the signal has been altered.
This is incorrect and makes the logging unreliable.
It is even impossible to change the status and categorie at the same time.
- Open a signal/ticket
- Click on the pensil to change the categorie
- Click on "Opslaan"
- The logging shows two new lines: a correct one with the categorie change and a faulty one with status change.
Opened a signal:
Changed the categorie (not status!) but logging shows otherwise:
Can you please fix this?
CBuiVNG commented
It turns out that the FE always sends out an status update 'm' along with the category update.
{"status":{"state":"m"},"category":{"sub_category":"http://localhost:8000/signals/v1/public/terms/categories/dieren/sub_categories/dood-dier"}}
So we honor the request, don't know if this is intentional