You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
At the moment, a manager doesn't allow an empty local_rules.xml file. Analysisd can't read it and report a configuration error if it is empty.
If a user deletes the content of the local_rules.xml file and saves it, the app updates the file but it doesn't restart the manager and shows a "warning/error" message:
IMO, the app shouldn't allow this behavior. It already checks if there're errors in the configuration file and it prevents saving it so it should check if the file is empty or not too. If someone else deletes the content and save it, the next time it tries to restart the manager it will fail.
Steps to reproduce
Go to Management > Rules > Custom rules > local_rules.xml.
Delete the content of the file.
Save it.
The text was updated successfully, but these errors were encountered:
Description
At the moment, a manager doesn't allow an empty
local_rules.xml
file. Analysisd can't read it and report a configuration error if it is empty.If a user deletes the content of the
![image](https://user-images.githubusercontent.com/9081114/106596422-463d9a80-6555-11eb-95ca-65733016b7b4.png)
local_rules.xml
file and saves it, the app updates the file but it doesn't restart the manager and shows a "warning/error" message:IMO, the app shouldn't allow this behavior. It already checks if there're errors in the configuration file and it prevents saving it so it should check if the file is empty or not too. If someone else deletes the content and save it, the next time it tries to restart the manager it will fail.
Steps to reproduce
Management > Rules > Custom rules > local_rules.xml
.The text was updated successfully, but these errors were encountered: