[Freeipa-devel] [PATCH] Added error handler for ipa_cmd().

Endi Sukma Dewata edewata at redhat.com
Tue Sep 28 23:20:11 UTC 2010


Hi,

Please review the attached patch. It can be tested by moving one of
the JSON files in test/data somewhere else. Thanks!

The ipa_cmd() has been modified such that when an error occurs a
dialog box will appear showing the error message with 2 buttons:
Retry and Cancel. If Retry is clicked, it will attempt to execute
the same operation again. If Cancel is clicked, the operation will
be canceled and the control is returned to the caller.

The associate.js, details.js, entity.js, search.js, and webui.js
have been modified to display the error message inside the page.
This behavior can be changed in the future (e.g. redirect to error
page).

The navigation.js and webui.js have been modified to render only
the visible tabs. This improves the performance and reduce hidden
errors.

Some variables/functions also have been renamed for consistency.

--
Endi S. Dewata
-------------- next part --------------
A non-text attachment was scrubbed...
Name: edewata-freeipa-0011-Added-error-handler-for-ipa_cmd.patch
Type: text/x-patch
Size: 16234 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20100928/2116d326/attachment.bin>


More information about the Freeipa-devel mailing list