[Freeipa-devel] [PATCH] 382 Do not hide idrange-add errors when adding trust

Martin Kosek mkosek at redhat.com
Thu Mar 7 14:41:32 UTC 2013


We catched all errors that could be raised by idrange-add command and
just raised an uncomprehensible ValidationError. This could hide
a real underlying problem and make the debugging harder.

We should rather just let the command raise the real error (which
will be already a PublicError).

https://fedorahosted.org/freeipa/ticket/3288

---

NOTE: I discussed this issue with tsunamie (ticket logger). He hit this error
in some early FreeIPA 3.0 release and he does not hit it any more. I also did
not reproduce it with current master so I am just sending a patch to allow
us/user to see the reason of the range error in case it occurs again.

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-mkosek-382-do-not-hide-idrange-add-errors-when-adding-trust.patch
Type: text/x-patch
Size: 2041 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20130307/0361b715/attachment.bin>


More information about the Freeipa-devel mailing list