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 importing a data query, an invalid column name error can sometimes be shown #3871
Comments
This only happens on a Device Template import that contains a Data Query. |
This is already fixed in the 1.2.x branch and will be a part of the 1.2.15 release. |
I've just tested on the 1.2.x branch and its not working. |
Oh, I see now. Take just a few minutes to fix. |
Import DataQuery show PHP Error: ERROR PHP NOTICE: Undefined index: fname
grab lib/import.php and try again. |
This should fix the remainder of the issues.
Try again. |
Perfect, that has fixed the error, wow that was a quick fix. |
It's Lunch time ;) |
How far off is 1.2.15 from being released as the latest version? |
Well, the more testing done by people like you, the closer it is. We are now a month behind, and I keep saying no more, a day before more show up. |
Describe the bug
Import DataQuery show PHP Error: ERROR PHP NOTICE: Undefined index: fname in file: /var/www/cacti/lib/import.php on line: 1798
CMDPHP PHP ERROR NOTICE Backtrace: (/templates_import.php[43]:form_save(), /templates_import.php[97]:import_xml_data(), /lib/import.php[194]:xml_to_data_input_method(), /lib/import.php[1743]:compare_data(), /lib/import.php[1798]:CactiErrorHandler())
To Reproduce
Steps to reproduce the behavior:
Go to Console->Import/Export-->Import Templates
Click "Select a File" and choose the file you want to import that contains a Data Query
Disable "Preview Import Only"
Click "Import"
See onscreen popup error
Check "Logs" tab, this should contain something like the following
Additional context
This looks like it is related to issue #3778.
The text was updated successfully, but these errors were encountered: