Re: [Freeipa-devel] [PATCH] Checking empty AJAX response in ipa_cmd().

2010-09-29 Thread Endi Sukma Dewata
- Endi Sukma Dewata edew...@redhat.com wrote: Some errors (e.g. server down) are reported as AJAX success with empty data and/or HTTP error code != 200. The ipa_cmd() has been modified so that it will detect such errors and invoke the error handler. It turns out that pulling local JSON

Re: [Freeipa-devel] [PATCH] Checking empty AJAX response in ipa_cmd().

2010-09-29 Thread Adam Young
On 09/29/2010 08:34 PM, Endi Sukma Dewata wrote: - Endi Sukma Dewataedew...@redhat.com wrote: Some errors (e.g. server down) are reported as AJAX success with empty data and/or HTTP error code != 200. The ipa_cmd() has been modified so that it will detect such errors and invoke the

Re: [Freeipa-devel] [PATCH] Checking empty AJAX response in ipa_cmd().

2010-09-29 Thread Adam Young
On 09/29/2010 09:41 PM, Adam Young wrote: On 09/29/2010 08:34 PM, Endi Sukma Dewata wrote: - Endi Sukma Dewataedew...@redhat.com wrote: Some errors (e.g. server down) are reported as AJAX success with empty data and/or HTTP error code != 200. The ipa_cmd() has been modified so that