Automation references the wrong table name causing errors #5315
Labels
automation
Automation related issue
bug
Undesired behaviour
confirmed
Bug is confirm by dev team
porting required
Requires porting to develop
resolved
A fixed issue
Milestone
Describe the bug
When setting a "monthly" or "monthly on day" schedule for a network scan automation, you will get SQL errors in the logs, telling that the "analytics_report_templates" table does not exist.
Indeed it is referenced only on that particular place in the code, i found it nowhere else.
Probably a relic from the past? - might be, so the lines can probably be removed.
Here's the code that causes the error, starting around line 3899 in lib/api_automation.php:
We're on cacti 1.2.23, code part is still present in 24 and wasn't touched for a long time.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Obviously, errors should not appear. ;)
The text was updated successfully, but these errors were encountered: