← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 666247] Re: [5.0] Incorrect reuse of same m2m table by 2 osv objects in document module prevents creating more than a few files

 

@LudoRA: your patch would work, and here is a similar one in patch
format, that should be readily applicable to any 5.0 installation. Note
that you need to manually trigger an update of the document module after
applying the patch.

** Patch added: "document_group_m2m_namefix.patch"
   https://bugs.launchpad.net/openobject-addons/+bug/666247/+attachment/1798626/+files/document_group_m2m_namefix.patch

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/666247

Title:
  [5.0] Incorrect reuse of same m2m table by 2 osv objects in document
  module prevents creating more than a few files

Status in OpenObject Addons Modules:
  Confirmed

Bug description:
  hi,
  this is the full cause of problem.i go to the document management module::search a file::New.
  in the new section when i choose a file and attach it without any further changes it operates fine .but when i go to security tab and add some groups i get the following integrity error:

  Integrity Error

  insert or update on table "document_directory_group_rel" violates foreign key constraint "document_directory_group_rel_item_id_fkey"
  DETAIL:  Key (item_id)=(228) is not present in table "document_directory".

  
  what is it??

  thank you





References