Created attachment 1147057 [details] error Description of problem: Version-Release number of selected component (if applicable): 5.6.0.1-beta2.20160413141124_e25ac0e How reproducible: 100% Steps to Reproduce: 1.Navigate to login page 2.Enter wrong User name or wrong Password and Click on login button 3.Repeat step 2 for multiple times Actual results: Multiple flash messages displayed for invalid login when tried multiple times. see attached screenshot. Expected results: Only one flash message should be displayed for multiple invalid login. Additional info:
Martin, When login button is pressed we should remove/replace the previous flash message in app/assets/javascripts/miq_application.js add_Flash js function. ~Harpreet
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/1f0c710f5f9536ea9c7341efefad9130de7ee16c commit 1f0c710f5f9536ea9c7341efefad9130de7ee16c Author: Martin Hradil <mhradil> AuthorDate: Tue Apr 26 12:57:27 2016 +0000 Commit: Martin Hradil <himdel> CommitDate: Wed Apr 27 20:01:07 2016 +0000 JS add_flash - add optional id, ensure uniqueness when given authentication failed message now gets an id of auth_failed, and removes the previous one if a new one with the same id is added https://bugzilla.redhat.com/show_bug.cgi?id=1327042 app/assets/javascripts/miq_application.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-)
Only one flash message displayed for multiple invalid login. Verified in 5.6.0.5-beta2.4.20160503153816_1fb554f
https://github.com/ManageIQ/manageiq/pull/8473
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1348