openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #20571
[Bug 1094898] Re: [Trunk] Unable to save a new user
Zine - Thanks for the suggestion, this did let me create a new user and
saved correctly. However I then ran into the same problem listed in
https://bugs.launchpad.net/openobject-server/+bug/1094469
2013-01-01 09:59:09,949 16057 ERROR ? openerp.addons.web.http.JSONRequest.dispatch: An error occured while handling a json request
Traceback (most recent call last):
File "/opt/openerp/sever/openerp/addons/web/http.py", line 195, in dispatch
response["result"] = method(self, **self.params)
File "/opt/openerp/sever/openerp/addons/auth_signup/controllers/main.py", line 53, in retrieve
user_info = res_partner.signup_retrieve_info(cr, openerp.SUPERUSER_ID, token)
File "/opt/openerp/sever/openerp/addons/auth_signup/res_users.py", line 144, in signup_retrieve_info
partner = self._signup_retrieve_partner(cr, uid, token, raise_exception=True, context=None)
File "/opt/openerp/sever/openerp/addons/auth_signup/res_users.py", line 126, in _signup_retrieve_partner
raise SignupError("Signup token '%s' is not valid" % token)
SignupError: Signup token 'wiwzwPe6ACQifyrwAkur' is not valid
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1094898
Title:
[Trunk] Unable to save a new user
Status in OpenERP Server:
Confirmed
Bug description:
On OpenERP 7.0 (Nightly Build 20121230-002158) I can instal and use
the system.
When creating a new user account it brings up the message about
sending the user an email (This email is sent and received). However,
the user record is not saved - it will keep asking if you want to save
the record if you try to navigate to another page. On the log it shows
2012-12-31 14:34:47,041 15643 ERROR epionetest openerp.netsvc: Mail sent to:
enquiries@xxxxxxxxxxxxxxxxx
Traceback (most recent call last):
File "/opt/openerp/server/openerp/netsvc.py", line 289, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/opt/openerp/server/openerp/service/web_services.py", line 614, in dispatch
res = fn(db, uid, *params)
File "/opt/openerp/server/openerp/osv/osv.py", line 169, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/opt/openerp/server/openerp/osv/osv.py", line 123, in wrapper
return f(self, dbname, *args, **kwargs)
File "/opt/openerp/server/openerp/osv/osv.py", line 179, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/opt/openerp/server/openerp/osv/osv.py", line 166, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/opt/openerp/sever/openerp/addons/crm/crm_meeting.py", line 76, in create
user_id = super(res_users, self).create(cr, uid, data, context=context)
File "/opt/openerp/sever/openerp/addons/auth_signup/res_users.py", line 267, in create
user.action_reset_password()
File "/opt/openerp/server/openerp/osv/orm.py", line 374, in function_proxy
return attr(self._cr, self._uid, [self._id], *args, **kwargs)
File "/opt/openerp/sever/openerp/addons/auth_signup/res_users.py", line 258, in action_reset_password
raise osv.except_osv(_("Mail sent to:"), user.email)
except_osv: (u'Mail sent to:', u'enquiries@xxxxxxxxxxxxxxxxx')
This appears to be related to the type of message created to notify of
the sent email.
The email is correctly received but there is no user in the DB so the
token shows as invalid when you try to follow the embeded link.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1094898/+subscriptions
References