Re: [Freeipa-devel] [PATCH] 309 Fix addattr internal error

2012-09-17 Thread Rob Crittenden
Martin Kosek wrote: On 09/13/2012 09:19 PM, Rob Crittenden wrote: Martin Kosek wrote: When ADD command is being executed and a single-value object attribute is being set with both option and addattr IPA ends up in an internal error. Make better value sanitizing job in this case and let IPA

Re: [Freeipa-devel] [PATCH] 309 Fix addattr internal error

2012-09-14 Thread Martin Kosek
On 09/13/2012 09:19 PM, Rob Crittenden wrote: Martin Kosek wrote: When ADD command is being executed and a single-value object attribute is being set with both option and addattr IPA ends up in an internal error. Make better value sanitizing job in this case and let IPA throw a

Re: [Freeipa-devel] [PATCH] 309 Fix addattr internal error

2012-09-14 Thread Jan Cholasta
Dne 14.9.2012 08:40, Martin Kosek napsal(a): On 09/13/2012 09:19 PM, Rob Crittenden wrote: Martin Kosek wrote: When ADD command is being executed and a single-value object attribute is being set with both option and addattr IPA ends up in an internal error. Make better value sanitizing job in

[Freeipa-devel] [PATCH] 309 Fix addattr internal error

2012-09-13 Thread Martin Kosek
When ADD command is being executed and a single-value object attribute is being set with both option and addattr IPA ends up in an internal error. Make better value sanitizing job in this case and let IPA throw a user-friendly error. Unit test exercising this situation is added.