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.
Please file a BZ if you can come up with a reproducible test case for this.
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):
Error: IPA Error 4001 test.example.com: host not found
Clicking Refresh doesn't clear the error.
Another way to reproduce the problem: 1. Open the users page in the UI. 2. Stop the httpd service. 3. Open one of the users, the following error message will appear:
Error: Unknown Error error
Stopping slapd service will produce a different error message:
Error: Internal Server Error Internal Server Error
Ticket has been cloned to Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=803050
master: - 646a4cc - 6669212
ipa-2-2: - 801dddf - 224e8c3
Metadata Update from @pvoborni: - Issue assigned to pvoborni - Issue set to the milestone: FreeIPA 2.2 Core Effort - 2012/03
Login to comment on this ticket.