← 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

 

@Olivier Dony: OK. Can we consider this patch like an official patch
that is compatible with futures versions of 5.0 series? Or must we wait
for a validation?

-- 
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