c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #24930
[Bug 751677] Re: Unable to add users with wizard
The fix available in trunk at revision 3421.
Thank you for the bug report.
** Changed in: openobject-server
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/751677
Title:
Unable to add users with wizard
Status in OpenERP Server:
Fix Released
Bug description:
Running OpenERP server v6.0.2 (stable) and web-server v6.0.2 (stable)
on Ubuntu 10.04.2 LTS x86_64 server (kernel 2.6.32-30)
OpenERP was installed using the packages from:
http://www.openerp.com/download/stable/source/openerp-server-6.0.2.tar.gz
http://www.openerp.com/download/stable/source/openerp-web-6.0.2.tar.gz
This error is reproducible using both the web interface (browsing with
Firefox 3.6.16) and using the windows OpenERP Client v6.0.2 (stable)
which leads me to believe it is related to the core framework. It is
reproduced by navigating to the Administration -> Configuration ->
Configuration Wizards -> Configuration Wizards page and starting the
"Create Users" Configuration wizard. The wizard windows shows as
expected and all fields are filled (User Name, Login, Language,
E-Mail, Password and Time Zone). When the "Add User" button is clicked
an error is reported. The traceback is:
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 599, in dispatch
res = fn(db, uid, *params)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base/res/res_user.py", line 551, in action_add
self.create_user(cr, uid, ids[0], context=context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base/res/res_user.py", line 530, in create_user
base_data = self.read(cr, uid, new_id, context=context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/base/res/res_user.py", line 267, in read
result = super(users, self).read(cr, uid, ids, fields, context, load)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 1963, in read
record[f] = res2[record['id']]
IndexError: string index out of range
It is expected that once the information is entered and the "Add User" button is clicked a new user will be added, however this is not occurring.
As users can still be added through Administration -> Users -> Users
this does not entirely prevent user creation.
References