openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #20553
[Bug 1094898] Re: [Trunk] Unable to save a new user
Hello Kieran ,
I have face this problem with trunk.
Traceback (most recent call last):
File "/home/jir/workspace/Trunk/Trun/server/trunk/openerp/netsvc.py", line 281, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/home/jir/workspace/Trunk/Trun/server/trunk/openerp/service/web_services.py", line 614, in dispatch
res = fn(db, uid, *params)
File "/home/jir/workspace/Trunk/Trun/server/trunk/openerp/osv/osv.py", line 169, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/home/jir/workspace/Trunk/Trun/server/trunk/openerp/osv/osv.py", line 123, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/jir/workspace/Trunk/Trun/server/trunk/openerp/osv/osv.py", line 179, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/jir/workspace/Trunk/Trun/server/trunk/openerp/osv/osv.py", line 166, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/jir/workspace/Trunk/Trun/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'jir@xxxxxxxxxxx').
Thanks.
--
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