[Freeipa-devel] [PATCH] Added some fields to user object

Adam Young ayoung at redhat.com
Mon Nov 22 14:37:18 UTC 2010


On 11/22/2010 09:25 AM, Jan Zelený wrote:
> Some fields were missing from user object, this change adds them
> along with their l10n
>
> https://fedorahosted.org/freeipa/ticket/305
>
>    
>
>
> _______________________________________________
> Freeipa-devel mailing list
> Freeipa-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-devel
NACK

Did a user-show and got this stack trace


Traceback (most recent call last):
   File "/home/ayoung/devel/freeipa/ipalib/plugable.py", line 538, in 
import_plugins
     __import__(fullname)
   File "/home/ayoung/devel/freeipa/ipalib/plugins/user.py", line 57, in 
<module>
     class user(LDAPObject):
   File "/home/ayoung/devel/freeipa/ipalib/plugins/user.py", line 185, 
in user
     label=_('Org. Unit'),
   File "/home/ayoung/devel/freeipa/ipalib/parameters.py", line 1232, in 
__init__
     super(Str, self).__init__(name, *rules, **kw)
   File "/home/ayoung/devel/freeipa/ipalib/parameters.py", line 1111, in 
__init__
     super(Data, self).__init__(name, *rules, **kw)
   File "/home/ayoung/devel/freeipa/ipalib/parameters.py", line 404, in 
__init__
     check_name(self.cli_name)
   File "/home/ayoung/devel/freeipa/ipalib/base.py", line 244, in check_name
     NAME_ERROR % (NAME_REGEX, name)
ValueError: name must match '^[a-z][_a-z0-9]*[a-z0-9]$|^[a-z]$'; got 
'org-unit'

Traceback (most recent call last):
   File "./lite-server.py", line 121, in <module>
     api.finalize()
   File "/home/ayoung/devel/freeipa/ipalib/plugable.py", line 557, in 
finalize
     self.__do_if_not_done('load_plugins')
   File "/home/ayoung/devel/freeipa/ipalib/plugable.py", line 371, in 
__do_if_not_done
     getattr(self, name)()
   File "/home/ayoung/devel/freeipa/ipalib/plugable.py", line 509, in 
load_plugins
     self.import_plugins('ipalib')
   File "/home/ayoung/devel/freeipa/ipalib/plugable.py", line 547, in 
import_plugins
     raise e
ValueError: name must match '^[a-z][_a-z0-9]*[a-z0-9]$|^[a-z]$'; got 
'org-unit'

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20101122/9200d83d/attachment.htm>


More information about the Freeipa-devel mailing list