Cacti / cacti

Cacti ™
http://www.cacti.net
GNU General Public License v2.0
1.61k stars 399 forks source link

When Data Query does not exist, editing throws warnings and not an GUI error #5481

Closed TheWitness closed 10 months ago

TheWitness commented 10 months ago

Describe the bug

Based upon the user report here:

https://forums.cacti.net/viewtopic.php?t=62809

Users attempting to edit a non-existant Data Query get warning messages in the Cacti log and are not told what to do to resolve the problem.

Expected behavior

Provide a user an error in the GUI and instructions as to what they should do next.

TheWitness commented 10 months ago

Iv'e fixed this in the 1.2.x branch. Did you run the repair_database.php script?