openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #27150
[Bug 1267141] Re: [Trunk][saas-2] Cannot duplicate user
Fixed in revision 9101 of saas-2 branch
dle@xxxxxxxxxxx-20140127110411-ff0vrva5j2vdt1sc
** Changed in: openobject-addons
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1267141
Title:
[Trunk][saas-2] Cannot duplicate user
Status in OpenERP Addons (modules):
Fix Released
Bug description:
I cannot duplicate an user when the module "Social Network" is
installed.
I got the following error:
Traceback (most recent call last):
File "/home/amu/project/comansys/addons-web/addons/web/http.py", line 325, in dispatch
response["result"] = self._call_function(**self.params)
File "/home/amu/project/comansys/addons-web/addons/web/http.py", line 174, in _call_function
return self.func(*args, **kwargs)
File "/home/amu/project/comansys/addons-web/addons/web/http.py", line 1060, in nfunc
return checked_call(request.db, *args, **kwargs)
File "/home/amu/project/comansys/parts/openerp/openerp/service/model.py", line 111, in wrapper
return f(dbname, *args, **kwargs)
File "/home/amu/project/comansys/addons-web/addons/web/http.py", line 1052, in checked_call
return func(*a, **kw)
File "/home/amu/project/comansys/addons-web/addons/web/controllers/main.py", line 1098, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/home/amu/project/comansys/addons-web/addons/web/controllers/main.py", line 1090, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
File "/home/amu/project/comansys/parts/openerp/openerp/addons/base/res/res_users.py", line 354, in copy
return super(res_users, self).copy(cr, uid, id, default, context)
File "/home/amu/project/comansys/parts/openerp/openerp/osv/orm.py", line 5149, in copy
data = self.copy_data(cr, uid, id, default, context)
File "/home/amu/project/comansys/addons/mail/res_users.py", line 85, in copy_data
data = super(res_users, self).copy_data(*args, **kwargs)
File "/home/amu/project/comansys/parts/openerp/openerp/osv/orm.py", line 5061, in copy_data
lines = [other.copy_data(cr, uid, line_id, context=context) for line_id in sorted(data[f])]
File "/home/amu/project/comansys/addons/mail/res_users.py", line 86, in copy_data
if data.get('alias_name'):
AttributeError: 'NoneType' object has no attribute 'get'
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1267141/+subscriptions
References