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 using API to rename a tree node, backtrace may be incorrectly shown #3917

Closed
ZhiXianZheng opened this issue Nov 12, 2020 · 2 comments
Closed
Labels
bug Undesired behaviour resolved A fixed issue
Milestone

Comments

@ZhiXianZheng
Copy link

An error occurred while renaming the tree directory name.

version 1.2.10

2020/11/12 15:23:33 - CMDPHP PHP ERROR NOTICE Backtrace: (/tree.php[147]:api_tree_rename_node(), /lib/api_tree.php[548]:CactiErrorHandler())
2020/11/12 15:23:33 - ERROR PHP NOTICE: Undefined offset: 1 in file: /var/www/html/lib/api_tree.php on line: 548
2020/11/12 15:23:33 - CMDPHP PHP ERROR NOTICE Backtrace: (/tree.php[147]:api_tree_rename_node(), /lib/api_tree.php[548]:CactiErrorHandler())
2020/11/12 15:23:33 - ERROR PHP NOTICE: Undefined offset: 1 in file: /var/www/html/lib/api_tree.php on line: 548
2020/11/12 15:23:33 - CMDPHP PHP ERROR NOTICE Backtrace: (/tree.php[147]:api_tree_rename_node(), /lib/api_tree.php[548]:CactiErrorHandler())
2020/11/12 15:23:33 - ERROR PHP NOTICE: Undefined offset: 1 in file: /var/www/html/lib/api_tree.php on line: 548
2020/11/12 15:23:33 - CMDPHP PHP ERROR NOTICE Backtrace: (/tree.php[147]:api_tree_rename_node(), /lib/api_tree.php[548]:CactiErrorHandler())
2020/11/12 15:23:33 - ERROR PHP NOTICE: Undefined offset: 1 in file: /var/www/html/lib/api_tree.php on line: 548

@ZhiXianZheng ZhiXianZheng added bug Undesired behaviour unverified Some days we don't have a clue labels Nov 12, 2020
@netniV
Copy link
Member

netniV commented Nov 17, 2020

Things have moved on since 1.2.10, can you update and see if the problem persists?

@TheWitness
Copy link
Member

This might be caused through pen testing @netniV. Maybe that's what going on here.

@TheWitness TheWitness changed the title CMDPHP PHP ERROR NOTICE Backtrace: (/tree.php[147]:api_tree_rename_node() API Tree Warning Errors when pen testing Cacti in api_tree_rename_node() Nov 21, 2020
TheWitness added a commit that referenced this issue Nov 21, 2020
API Tree Warning Errors when pen testing Cacti in api_tree_rename_node()
@TheWitness TheWitness added resolved A fixed issue and removed unverified Some days we don't have a clue labels Nov 21, 2020
@TheWitness TheWitness added this to the v1.2.16 milestone Nov 21, 2020
@netniV netniV changed the title API Tree Warning Errors when pen testing Cacti in api_tree_rename_node() When using API to rename a tree node, backtrace may be incorrectly shown Nov 30, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Mar 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

3 participants