← Back to team overview

credativ team mailing list archive

[Bug 903474] Re: error "ir_ui_menu" violates foreign key constraint "res_portal_parent_menu_id_fkey" on table "res_portal"

 

Hello,   Thanks For Reporting.  
It has been Fixed in https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-903474-kjo 
revision-id: kjo@xxxxxxxxxxx-20111215112912-o1y70syaidufq1ru
revno: 5970
It will be available in trunk soon.  

** Changed in: openobject-addons
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/903474

Title:
  error "ir_ui_menu" violates foreign key constraint
  "res_portal_parent_menu_id_fkey" on table "res_portal"

Status in OpenERP Addons (modules):
  Fix Committed

Bug description:
  I have installed portal and get the error

  
   delete from
                          ir_ui_menu
                      where
                          (id not IN (select parent_id from ir_ui_menu where parent_id is not null))
                      and
                          (id not IN (select res_id from ir_values where model='ir.ui.menu'))
                      and
                          (id not IN (select res_id from ir_model_data where model='ir.ui.menu'))
  Traceback (most recent call last):
    File "/home/srv/openerp/instances/trunk/openobject-server/openerp/sql_db.py", line 215, in execute
      res = self._obj.execute(query, params)
  IntegrityError: update or delete on table "ir_ui_menu" violates foreign key constraint "res_portal_parent_menu_id_fkey" on table "res_portal"
  DETAIL:  Key (id)=(720) is still referenced from table "res_portal".

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/903474/+subscriptions


References