Created attachment 1390890 [details] Container add provider no error message Description of problem: When trying to add container provider, after fill relevant fields and press validate, The UI gets a response that is not JSON (for example session Timeout sends javascript to redirect, or other exception that send javascript to show exception page), and show an empty pass green flash message (see attach file). In case of timeout, shortly afterward there is also a yellow flash explaining the timeout and user is redirected to login page. But there is still a bug in Validate button handling non-JSON responses. Version-Release number of selected component (if applicable): 5.9.0.19.20180130154138_e545381 How reproducible: 100% Steps to Reproduce: (this is for the timeout case, which is less of a problem as user is quickly redirected afterwards, but that's the one easier to reproduce) 1.On EVM configuration -- advance , under session: change timeout to 30 (instead of 3600|) 2.compute --> containers --> providers 3.Configuration --> Add a new Container provider 4.Fill necessary fields and press validate. Actual results: Empty green flash message Expected results: Some UI error Additional info:
Can you print screen the exact configuration you're touching on to reproduce this bug?
You can see the configuration on the attach file. You can chose also SSL without validation. For me that happened when i leave this page for 30-60 minutes, and then press the validate button again. On our automation , it seems like there were 2 browsers that done this add provider action on same time. If you will change the session: timeout to 30 (instead of 3600) , you will get it but you will be immediately redirected to login page.
PR: https://github.com/ManageIQ/manageiq-ui-classic/pull/3393
Verified on 5.10.0.1.20180619163011_900fdc4 On provider Edit screen, wait few minutes until session timeout, when press Validate button, get expected flash message: Something went wrong, please check the logs for more information.