[Freeipa-devel] [PATCH] fix user.getValue()

Kevin McCarthy kmccarth at redhat.com
Tue Aug 14 19:01:03 UTC 2007


Kevin McCarthy wrote:
> I think we should be looking at the value instead of value[0] to
> determine what it is.  I stumbled across this bug because I was able to
> submit telephoneNumber as an empty string.  The code was blowing up
> trying to do a value[0] on "".

Don't apply this patch.  Rob figured out that the data is different when
it comes from the xmlrpc layer versus the funcs.py layer.  He's coding
up a separate patch to address the issue.

-Kevin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2228 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20070814/01bdf130/attachment.bin>


More information about the Freeipa-devel mailing list