-
-
Notifications
You must be signed in to change notification settings - Fork 404
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
Upon displaying a form with errors, the session error fields variable isn't cleared #5329
Comments
Please provide the steps to replicate this and any errors that appeared in your logs at the time. |
After logging into the application, when I click on the Graph tab, the message appears. |
I'm not able to replicate this |
I'm not seeing anything specific with the core of cacti that relates to this problem. Can I suggest that you disable plugins and retest? It may be worth disabling one at a time to work out which is causing you the problem. DO NOT UNINSTALL as this will remove any plugin specific data as well as removing the plugin. If the problem persists after that, it may be then we need to look at uninstalling a plugin. One of them states you need cacti >= 1.2.24 which may also not be helping. Finally, if you still have the issue, it may be browser plugin related as these can sometimes inject fields/values, so try a clean/incognito session. |
I have been disabling each of the plugins and re-enabling it. In all cases, both disabling and enabling it reproduces the error and it is reproduced in the Graph tab. I have been disabling all the plugins one by one and the problem always occurs. With all plugins disabled the problem persists in the Graph tab. I have done these tests from Chrome. I have opened from Firefox and Edge and the problem persist, so probably is not related with a browser plugin. |
In Console - Configuration - Users, when you click in a user the message appears too, and the same when you click in a User Group. |
So, the real question is when these messages start to appear, what form were you on last? |
I've seen this issue. The fix is quite easy. |
Upon displaying a form with errors, the session error fields variable isn't cleared.
Should be fixed now. |
Hopefully, we are never setting that in the backend to report errors with fields after submission? |
No. It's all before rendering and happens as a result of the various |
I'm sorry but we have applied Fixing #5329 - "Form errors persist after display ..." but it hasn't solved the issue. |
What page is causing the initial error? |
You may have to log off and back on again. |
Upon displaying a form with errors, the session error fields variable isn't cleared.
Hello. Sorry for the delay. I did log off and log on but the behaviour is the same. |
Sorry, but it's not resolved. |
Update to 1.2.25 otherwise known as the 1.2.x branch. You updated two 1 release old. |
Describe the bug
When we brows to graph_view.php?action=tree from another tab we are showed the error "Action failed Sorry, we could not process your last action. Save Failed due to field input errors (Check red fields)."
To Reproduce
Steps to reproduce the behavior:
Go to 'http://url_cacti/cacti/index.php'
Click on 'Graphs'
See error
Expected behavior
Don't see any error message.
Screenshots
Desktop (please complete the following information)
OS: Windows 10
Browser Chrome, Firefox, Edge
Version Lastone
Additional context
The problem appeared after updating cacti from version 1.2.15 to 1.2.23 in CentOS 7 (3.10.0-1160.el7.x86_64)
The text was updated successfully, but these errors were encountered: