-
-
Notifications
You must be signed in to change notification settings - Fork 410
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automation Graph Rule Failing to modify/save #6090
Comments
Can you paste the console error here please |
It also does look like the log file throws an error after a while as well. 2025-02-05 11:03:34 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler()) -- 2025-02-05 11:03:34 - ERROR PHP ERROR: Uncaught Error: Call to undefined function raise_messsage() in /var/www/html/automation_graph_rules.php:134 Stack trace: #0 /var/www/html/automation_graph_rules.php(40): save() #1 {main} thrown in file: /var/www/html/automation_graph_rules.php on line: 134 2025-02-05 11:03:12 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler()) 2025-02-05 11:03:12 - ERROR PHP ERROR: Uncaught Error: Call to undefined function raise_messsage() in /var/www/html/automation_graph_rules.php:134 Stack trace: #0 /var/www/html/automation_graph_rules.php(40): save() #1 {main} thrown in file: /var/www/html/automation_graph_rules.php on line: 134 |
Confirmed. If you can edit those two files and change |
Verified both files are changed. Verified my host template is in the database, I get the prompt of an injection. 2025-02-06 17:02:06 - SECURITY ERROR: An attempt was made to perform a SQL Injection in Graph Automation from client address 'My IP' 29 | e6b1f751d2523b699821cdcd4f9b63f0 | Juniper EX | unassigned So somthing is still not matching |
Thanks for reporting this back. What actions were you taking when the error occurred? Can you share a screen shot of that? |
Okay, reproduced now. |
Great, If you need any more info let me know! As always thanks for making Cacti Great for everyone involved! |
This should resolve the issue reported in 6090 more completely.
Okay, so I've create a new pull request in the patch-6090 branch. I've tested your case and it's is not properly covered. Feel free to also test. Hopefully, we can get it merged proper today. |
Confirmed the all issues resolved and i was able to add the graph rule! Thanks so much! |
Describe the bug
When adding a Automation Graph Rule, any option under the Graph Creation Criteria except for a blank fiueld name value does not complete.
My previous rules are intact but cant be modifed
To Reproduce
Steps to reproduce the behavior:
Go to automation
Click on graph rules
create a new rule and a device selection criteria with SNMP Interface Statistics, adding a graph creation criteria with IfOperstats. If you leave the value blank the vlaue is saved.
Jquery thows a console error and the save does not complete.
Expected behavior
Expected value to save.
Desktop (please complete the following information)
OS: Windows 10
Browser Chrome
Version Latest Release
Also verified a recent upgrade from cact 1.2.26 to 1.2.29 and the same issues is present
The text was updated successfully, but these errors were encountered: