← Back to team overview

openerp-india 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"

 

** Attachment added: "Portal.ogv"
   https://bugs.launchpad.net/openobject-addons/+bug/903474/+attachment/2631271/+files/Portal.ogv

** Changed in: openobject-addons
   Importance: Undecided => Low

** Changed in: openobject-addons
       Status: New => Confirmed

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 1 (openerp-dev-addons1)

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, 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):
  Confirmed

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