[6.1]google calendar import in openerp

Bug #1024283 reported by Gianluca Gori @ LS
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Confirmed
Medium
OpenERP Publisher's Warranty Team

Bug Description

Hello,

Trying to use the google calendar import functionality on OpenERP 6.1 (latest sevrer and addons revisions), but got the below error (and no event was imported):

2012-07-13 08:17:50,590 6816 ERROR ? openerp.sql_db: bad query: insert into "ir_model_data" (id,"noupdate","name","res_id","model","date_update","date_init","module",create_uid,create_date) values (19274,E'True',E'import_google_Events_http://www_google_com/calendar/feeds/test113_address%40gmail_com/private/full/h0eugafmg3iqps9s7csjpbu17o_2012',128,E'crm.meeting',E'2012-07-13 08:17:50',E'2012-07-13 08:17:50',E'synchronize_google',5,(now() at time zone 'UTC'))
Traceback (most recent call last):
  File "/openerp/server/6.1/openerp/sql_db.py", line 212, in execute
    res = self._obj.execute(query, params)
IntegrityError: duplicate key value violates unique constraint "ir_model_data_module_name_uniq"

please assist
pin8

Amit Parik (amit-parik)
Changed in openobject-addons:
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
importance: Undecided → Medium
status: New → Confirmed
summary: - google calendar import in openerp
+ [6.1]google calendar import in openerp
Revision history for this message
Antoine (antoine-suj) wrote :

Hello,

I'm affected by this bug.

module : import_base module,
class : import_framework ,
       -> _generate_xml_id (self, name, table) can return string with length > 128

and ir_model_data.name is limited to 128.

Antoine

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.