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 exporting a data query, an invalid column name error can sometimes be shown #3778

Closed
ddb4github opened this issue Aug 31, 2020 · 1 comment
Labels
bug Undesired behaviour resolved A fixed issue
Milestone

Comments

@ddb4github
Copy link
Contributor

Describe the bug

Export DataQuery show PHP Error: ERROR PHP NOTICE: Undefined index: fname in file: /var/www/html/cacti/lib/export.php on line: 346
CMDPHP PHP ERROR NOTICE Backtrace: (/templates_export.php[33]:form_save(), /templates_export.php[58]:get_item_xml(), /lib/export.php[1102]:data_input_method_to_xml(), /lib/export.php[346]:CactiErrorHandler())

To Reproduce

Steps to reproduce the behavior:

  1. Go to Console->Import/Export-->Export Templates

  2. Select "What would you like to export?"-->Data Query

  3. Select "Device Template to Export"--> Any Data Query

  4. Enable "Include Dependencies"

  5. Select "Output Format" --> "Save File Locally"

  6. Click "Export"

  7. Check "Logs" tab

  8. See Error

@ddb4github ddb4github added bug Undesired behaviour unverified Some days we don't have a clue labels Aug 31, 2020
@TheWitness
Copy link
Member

Nice catch @ddb4github. That's for the QA.

@TheWitness TheWitness changed the title Export DataQuery show PHP Error: ERROR PHP NOTICE: Undefined index: fname in file: /var/www/html/cacti/lib/export.php on line: 346 Export DataQuery show PHP Error: ERROR PHP NOTICE: Undefined index: fname Aug 31, 2020
TheWitness added a commit that referenced this issue Aug 31, 2020
* Export DataQuery show PHP Error: ERROR PHP NOTICE: Undefined index: fname
* This also stops the pace after a second of callback as it was running on.
@TheWitness TheWitness added resolved A fixed issue and removed unverified Some days we don't have a clue labels Aug 31, 2020
@TheWitness TheWitness added this to the 1.2.15 milestone Aug 31, 2020
@netniV netniV changed the title Export DataQuery show PHP Error: ERROR PHP NOTICE: Undefined index: fname When exporting a data query, an invalid column name error can sometimes be shown Nov 2, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Feb 1, 2021
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