Setup: show error message if rule changes don't get saved
If multiple rules in the same file are edited by different users or in multiple tabs then these changes are discarded by Checkmk without any feedback and not saved.
I would like Checkmk to at least display an error message in such a case so that the user knows that the data has not been saved.
To reproduce the problem:
Open multiple rules from the same file in multiple tabs, edit the rule in each tab and save it. In the rule overview you can see that sometimes not all changes were saved.
Comments: 2
-
09 Jan, '23
MathiasTruely a bug.. I had this problem also several times. Very frustrating when editing a big rule with many options and in the end it is not saved.
-
09 Jan, '23
Thomas Lippert AdminI am not sure, how this can be achieved. Think about the following user flow:
* An admin opens multiple rules in different tabs of the browser using a ctrl-lmb click on the edit icon
* Now the admin edits rule 1 in tab 1
* Next he/she switches to tab 2 and edits rule 2
* Rule 2 is saved
At what point should we show an error message? Should we warn the user from leaving a tab, if he/she has started editing? I assume this is a common workflow if the admin wants to copy information from one rule to another. We can block saving rule 1, but might also lead to information loss.