[Freeipa-devel] [PATCH] 0009 Use cli_name if possible to return errors via exceptions in Param
Rob Crittenden
rcritten at redhat.com
Mon Aug 1 14:44:18 UTC 2011
Alexander Bokovoy wrote:
> Hi,
>
> as result of discussion on Param and environment/context, here is patch
> to fix
> https://fedorahosted.org/freeipa/ticket/1549
> https://fedorahosted.org/freeipa/ticket/1550
>
> CLI and Web UI work.
nack.
When using ipalib outside of the cli the wrong attribute is in the error
message. See the test program in
https://fedorahosted.org/freeipa/attachment/ticket/187
In this sample the error when context='cli' should be 'desc' otherwise
it should be 'description'. With your patch it is always 'desc'.
rob
More information about the Freeipa-devel
mailing list