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 checking SQL fields, value was not always primed #2984

Closed
paulgevers opened this issue Sep 27, 2019 · 2 comments
Closed

When checking SQL fields, value was not always primed #2984

paulgevers opened this issue Sep 27, 2019 · 2 comments
Labels
bug Undesired behaviour resolved A fixed issue

Comments

@paulgevers
Copy link
Contributor

After I packaged Cacti 1.2.6 for Debian with commit f87ade3 added to fix other errors, I still get an unexpected error in the Cacti log in the CI run.

All tests: https://ci.debian.net/packages/c/cacti/testing/amd64/
Example failure log: https://ci.debian.net/data/autopkgtest/testing/amd64/c/cacti/3018448/log.gz

The cacti log contains:

2019/09/23 06:20:26 - CMDPHP ERROR: A DB Row Failed!, Error: Query was empty
2019/09/23 06:20:26 - CMDPHP SQL Backtrace:  (/data_source_profiles.php[96]:profile_edit(), /data_source_profiles.php[559]:draw_edit_form(), /lib/html_form.php[114]:draw_edit_control(), /lib/html_form.php[311]:db_fetch_assoc(), /lib/database.php[452]:db_fetch_assoc_prepared(), /lib/database.php[466]:db_execute_prepared())

I don't know if there is any fix already available, in that case just pointing at it would be great.

@cigamit
Copy link
Member

cigamit commented Sep 27, 2019

Thanks @paulgevers, perfect timing for a test. Correcting.

cigamit added a commit that referenced this issue Sep 27, 2019
Unexpected error message in Debian CI script
@cigamit cigamit added bug Undesired behaviour resolved A fixed issue labels Sep 27, 2019
@cigamit cigamit closed this as completed Sep 27, 2019
@netniV netniV changed the title [1.2.6] Unexpected error message in Debian CI script When checking SQL fields, value was not always primed Sep 28, 2019
@paulgevers
Copy link
Contributor Author

@cigamit worked like a charm. Thanks.

@github-actions github-actions bot locked 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