Problem with certificate, can't create new database !

Bug #314645 reported by Nicolas DS
2
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Fix Released
Undecided
Unassigned

Bug Description

I am using the lastest trunk of OpenErp.

When I try to create a new database I get this error (server sided):
[Wed Jan 07 2009 09:00:43] ERROR:web-services:[01]: CREATE DATABASE
[Wed Jan 07 2009 09:00:43] ERROR:web-services:[02]: Traceback (most recent call last):
[Wed Jan 07 2009 09:00:43] ERROR:web-services:[03]: File "/usr/local/lib/openerp/server/bin/service/web_services.py", line 88, in __call__
[Wed Jan 07 2009 09:00:43] ERROR:web-services:[04]: update_module=True)[1]
[Wed Jan 07 2009 09:00:43] ERROR:web-services:[05]: File "/usr/local/lib/openerp/server/bin/pooler.py", line 55, in restart_pool
[Wed Jan 07 2009 09:00:43] ERROR:web-services:[06]: return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
[Wed Jan 07 2009 09:00:43] ERROR:web-services:[07]: File "/usr/local/lib/openerp/server/bin/pooler.py", line 38, in get_db_and_pool
[Wed Jan 07 2009 09:00:43] ERROR:web-services:[08]: addons.load_modules(db, force_demo, status, update_module)
[Wed Jan 07 2009 09:00:43] ERROR:web-services:[09]: File "/usr/local/lib/openerp/server/bin/addons/__init__.py", line 610, in load_modules
[Wed Jan 07 2009 09:00:43] ERROR:web-services:[10]: modobj.update_list(cr, 1)
[Wed Jan 07 2009 09:00:43] ERROR:web-services:[11]: File "/usr/local/lib/openerp/server/bin/addons/base/module/module.py", line 335, in update_list
[Wed Jan 07 2009 09:00:43] ERROR:web-services:[12]: 'certificate': terp.get('certificate', ''),
[Wed Jan 07 2009 09:00:43] ERROR:web-services:[13]: File "/usr/local/lib/openerp/server/bin/addons/base/module/module.py", line 502, in write
[Wed Jan 07 2009 09:00:43] ERROR:web-services:[14]: return super(module, self).write(cr, uid, ids, vals, context=context)
[Wed Jan 07 2009 09:00:43] ERROR:web-services:[15]: File "/usr/local/lib/openerp/server/bin/osv/orm.py", line 2201, in write
[Wed Jan 07 2009 09:00:43] ERROR:web-services:[16]: 'where id in ('+ids_str+')', upd1)
[Wed Jan 07 2009 09:00:43] ERROR:web-services:[17]: File "/usr/local/lib/openerp/server/bin/sql_db.py", line 76, in wrapper
[Wed Jan 07 2009 09:00:43] ERROR:web-services:[18]: return f(self, *args, **kwargs)
[Wed Jan 07 2009 09:00:43] ERROR:web-services:[19]: File "/usr/local/lib/openerp/server/bin/sql_db.py", line 114, in execute
[Wed Jan 07 2009 09:00:43] ERROR:web-services:[20]: res = self._obj.execute(query, params)
[Wed Jan 07 2009 09:00:43] ERROR:web-services:[21]: IntegrityError: la valeur d'une clé dupliquée rompt la contrainte unique « ir_module_module_certificate_uniq »

Changed in openobject-server:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.