Skip to content
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

When adding a dataquery, SQL errors can be generated #2604

Closed
yingbaiibm opened this issue Apr 2, 2019 · 1 comment
Closed

When adding a dataquery, SQL errors can be generated #2604

yingbaiibm opened this issue Apr 2, 2019 · 1 comment
Labels
bug Undesired behaviour resolved A fixed issue
Milestone

Comments

@yingbaiibm
Copy link

To Reproduce
Steps to reproduce the behavior:

  1. Go to Data Collection - Data Query page
  2. Add a Data Query, error exist in log

2019/04/02 14:12:39 - ERROR PHP NOTICE: Undefined variable: previous_input_id in file: /var/www/html/cacti/data_queries.php on line: 143
2019/04/02 14:12:39 - CMDPHP PHP ERROR NOTICE Backtrace: (/var/www/html/cacti/data_queries.php[39]:form_save(), /var/www/html/cacti/data_queries.php[143]:CactiErrorHandler())

Screen Shot 2019-04-02 at 2 14 50 PM

Desktop (please complete the following information):

  • OS: [e.g. iOS] rhel73 x64
  • Browser [e.g. chrome, safari] FF
  • Version [e.g. 22] cacti1.2.2
cigamit added a commit that referenced this issue Apr 10, 2019
SQL error when add a dataquery
@cigamit cigamit added bug Undesired behaviour resolved A fixed issue labels Apr 10, 2019
@cigamit
Copy link
Member

cigamit commented Apr 10, 2019

Good catch. Resolved.

@cigamit cigamit added this to the v1.2.4 milestone Apr 17, 2019
@cigamit cigamit closed this as completed Apr 25, 2019
@netniV netniV changed the title [data query] SQL error when add a dataquery When adding a dataquery, SQL errors can be generated Apr 28, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Undesired behaviour resolved A fixed issue
Projects
None yet
Development

No branches or pull requests

2 participants