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 callback form functions, name and id field may not be correctly set #5223

Closed
TheWitness opened this issue Feb 3, 2023 · 0 comments
Labels
bug Undesired behaviour confirmed Bug is confirm by dev team resolved A fixed issue
Milestone

Comments

@TheWitness
Copy link
Member

Describe the bug

When typing into a drop callback for host in say the Data Sources page, if you tab out of the form without actually selecting something, the host_id input variable is populated with the hostname and not the host_id resulting in page errors if you are not careful to select.

To Reproduce

See the notes above.

Expected behavior

Cacti should always put the ID in that form object.

@TheWitness TheWitness added bug Undesired behaviour confirmed Bug is confirm by dev team porting required Requires porting to develop labels Feb 3, 2023
@TheWitness TheWitness added this to the v1.2.24 milestone Feb 3, 2023
TheWitness added a commit that referenced this issue Feb 3, 2023
Drop callback function sometimes puts name in the form input instead of the id
@TheWitness TheWitness added the resolved A fixed issue label Feb 3, 2023
@netniV netniV changed the title Drop callback function sometimes puts name in the form input instead of the id When using callback form functions, name and id field may not be correctly set Feb 15, 2023
@TheWitness TheWitness removed the porting required Requires porting to develop label Feb 20, 2023
@github-actions github-actions bot locked and limited conversation to collaborators May 22, 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 resolved A fixed issue
Projects
None yet
Development

No branches or pull requests

1 participant