[Freeipa-devel] [PATCH] 0089 Fix batch command error reporting
Petr Viktorin
pviktori at redhat.com
Tue Jul 10 15:58:05 UTC 2012
There are a few problems with Batch plugin error reporting:
- It reports the text of all errors, not only PublicError. In the normal
(non-batch) RPC interface, we hide non-public errors under a generic
"internal error" message.
- Errors are not localized properly
https://fedorahosted.org/freeipa/ticket/2874
- Unlike in the non-batch interface, the batch plugin only provides the
error text, not the code and name.
https://fedorahosted.org/freeipa/ticket/2901
Here is a simple fix; a more proper way to do it will be to unify this
with the RPC code.
--
Petr³
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pviktori-0068-Fix-batch-command-error-reporting.patch
Type: text/x-patch
Size: 5883 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120710/269fa7b3/attachment.bin>
More information about the Freeipa-devel
mailing list