Hide Forgot
This bug is created as a clone of upstream ticket: https://fedorahosted.org/freeipa/ticket/2449 In refresh (show) operation when errors other than 4001 (Not found) occur, content of a facet is replaced by error message. In subsequent usage of the UI the error message isn't cleared and facet content isn't recreated even when operation is successful. Such facet become unusable and user is forced to reload the UI. UI should be able to recover from such error report.
Fixed upstream. master: 646a4ccde34a098ef693e75e45a2541618ed5434 66692127c6754e9123f6bb4eaab479284112b85a ipa-2-2: 801dddf6b488c68315a88305188e062fc02ff4b4 224e8c3830d6ce40327497e91326a0c5b8a02f62
to reproduce :: Actually this problem can be reproduced with error 4001 too: 1. Add a host via UI, e.g. test.example.com. 2. Delete the host via CLI. 3. Open the host in the UI, an error dialog will appear. 4. Click Cancel, it will go back to the search page. 5. Add the same host again via UI. 6. Open the host in the UI, the following error message will appear in the page content (not in dialog)
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Cause: User clicked on cancel in error dialog when Web UI received unexpected error such as internal server error. Consequence: Web UI got in unusable state because error message replaced page content. Fix: Error message got it's own container. Result: Error message is displayed with options how to recover from the error state.
Verified using ipa-server-2.2.0-12.el6.x86_64 Followed steps above, and and got error at Step 3 in its own dialog, and no error at Step 6. Also followed steps from bug 817878 to get internal error, got the error, but didn't see an error message replacing page content.
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. http://rhn.redhat.com/errata/RHBA-2012-0819.html