Bug 1541744
Summary: | Container add provider empty flash message when not catch UI exception | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | brahmani | ||||
Component: | UI - OPS | Assignee: | Nimrod Shneor <nshneor> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | brahmani | ||||
Severity: | high | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 5.9.0 | CC: | brahmani, cpelland, hkataria, lavenel, mpovolny, obarenbo, oourfali | ||||
Target Milestone: | GA | Keywords: | AutomationBlocker, TestOnly, ZStream | ||||
Target Release: | 5.10.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | containers | ||||||
Fixed In Version: | 5.10.0.0 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 1553241 (view as bug list) | Environment: | |||||
Last Closed: | 2019-02-11 14:03:40 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | Container Management | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1553241 | ||||||
Attachments: |
|
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. 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. |
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: