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

Error messages are not always cleared, resulting in duplicated messages. #4552

Closed
TheWitness opened this issue Feb 14, 2022 · 0 comments
Closed
Labels
bug Undesired behaviour resolved A fixed issue
Milestone

Comments

@TheWitness
Copy link
Member

Describe the bug

If you are on a page, and encounter an error on the form, and then go off and try and render another form, the error message persists and sometimes indefinitely or until the session is cleared.

To Reproduce

Steps to reproduce the behavior:

  1. Goto a page that has form validation

  2. Edit the form and create an error

  3. Do on correct the error, but goto another page where a form is being rendered like CDEF Edit for example.

  4. See error

Expected behavior

Cacti should not persist this session variable for longer than it has to. It should present the right error messages for each page you are visiting.

@TheWitness TheWitness added the bug Undesired behaviour label Feb 14, 2022
@TheWitness TheWitness added this to the v1.2.20 milestone Feb 14, 2022
TheWitness added a commit that referenced this issue Feb 14, 2022
Form error message not cleared before rendering forms leading to false error messages
@TheWitness TheWitness added the resolved A fixed issue label Feb 14, 2022
@netniV netniV changed the title Form error message not cleared before rendering forms leading to false error messages Error messages are not always cleared, resulting in duplicated messages. Apr 3, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Dec 2, 2022
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

1 participant