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 a Data Query references a file, the filename should be trimmed to remove spurious spaces #5255

Closed
xmacan opened this issue Mar 1, 2023 · 0 comments
Labels
bug Undesired behaviour confirmed Bug is confirm by dev team porting required Requires porting to develop resolved A fixed issue
Milestone

Comments

@xmacan
Copy link
Member

xmacan commented Mar 1, 2023

If xml path is correct but contains space at the end, it causes problems:

  • creating graph - Error in Data Query. This could be due to the following: File Permissions, or a missing or improperly formatted Data Query XML file.
  • Data Query Debug Information - Could not find data query XML file at '/usr/local/share/cacti/resource/snmp_queries/rvs_msg8_ilo4_darray_v1.xml '

I know, it is wrong user input but cacti could be little bit user friendly here.

1.2.23/1.3

@xmacan xmacan added bug Undesired behaviour unverified Some days we don't have a clue labels Mar 1, 2023
@TheWitness TheWitness added confirmed Bug is confirm by dev team and removed unverified Some days we don't have a clue labels Mar 7, 2023
@TheWitness TheWitness added this to the v1.2.25 milestone Mar 7, 2023
TheWitness added a commit that referenced this issue Mar 19, 2023
Data query xml path with space problem
@TheWitness TheWitness added the resolved A fixed issue label Mar 19, 2023
TheWitness added a commit that referenced this issue Apr 1, 2023
Data query xml path with space problem
@TheWitness TheWitness added the porting required Requires porting to develop label Jun 11, 2023
@netniV netniV changed the title Data query xml path with space problem When a Data Query references a file, the filename should be trimmed to remove spurious spaces Sep 3, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Dec 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Undesired behaviour confirmed Bug is confirm by dev team porting required Requires porting to develop resolved A fixed issue
Projects
None yet
Development

No branches or pull requests

2 participants