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 viewing Realtime Graphs, validation errors may be seen for Size parameter #4005

Closed
zuka1337 opened this issue Dec 14, 2020 · 3 comments
Closed
Labels
bug Undesired behaviour resolved A fixed issue
Milestone

Comments

@zuka1337
Copy link

zuka1337 commented Dec 14, 2020

Describe the bug

Do you know what is this about guys?

CMDPHP Validation Error, Variable:size, Value:null Backtrace: (/graph_realtime.php[39]:get_filter_request_var(), /lib/html_utility.php[508]:die_html_input_error(), /lib/html_validate.php[64]:cacti_debug_backtrace())

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior:

  1. Create the Graph

  2. Click on Real Graph

  3. Show thumbnails

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

image

Cacti Version: 1.2.16

@zuka1337 zuka1337 added bug Undesired behaviour unverified Some days we don't have a clue labels Dec 14, 2020
@netniV
Copy link
Member

netniV commented Dec 14, 2020

Could you provide the URL (from the first slash) ? It would help understand what exact parameters are being set.

@zuka1337
Copy link
Author

zuka1337 commented Dec 14, 2020

Here you have: /cacti/graph_realtime.php?top=0&left=0&local_graph_id=7

(/graph_realtime.php[39]:get_filter_request_var(), /lib/html_utility.php[508]:die_html_input_error(), /lib/html_validate.php[64]:cacti_debug_backtrace())
Validation error for variable size with a value of null. See backtrace below for more details.

Note: I'm only able to reproduce if real time graph is running onpage and popup at the same time.

@zuka1337 zuka1337 changed the title Graph Tumb Error Graph Thumb Error Dec 14, 2020
@TheWitness TheWitness added this to the v1.2.17 milestone Dec 18, 2020
@TheWitness TheWitness removed the unverified Some days we don't have a clue label Dec 18, 2020
@TheWitness TheWitness changed the title Graph Thumb Error Validation Error for Size when viewing Realtime Graphs Dec 18, 2020
TheWitness added a commit that referenced this issue Dec 18, 2020
Automation raises errors when default snmp options is set to none
@TheWitness TheWitness added the resolved A fixed issue label Dec 18, 2020
@TheWitness
Copy link
Member

Thanks for reporting. I can not reproduce, but I put a fail-safe in the tool.

@github-actions github-actions bot locked and limited conversation to collaborators Mar 19, 2021
@netniV netniV changed the title Validation Error for Size when viewing Realtime Graphs When viewing Realtime Graphs, validation errors may be seen for Size parameter Apr 12, 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

3 participants