@LudoRA: your analysis is totally correct, the name of the many-to-many 
relationship table of the document.directory class was reused incorrectly in 
the document_directory class!
Thanks to you and Nima for reporting and analyzing this issue.

I can confirm that 6.0 is unaffected, so this is only in the 5.0 series.

As a result, I am assigning to the maintenance team, so they can apply
the fix.

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

** Changed in: openobject-addons
    Milestone: None => 5.0.16

** Changed in: openobject-addons
     Assignee: (unassigned) => Jay Vora (OpenERP) (jvo-openerp)

** Summary changed:

- Problem when uploading a file via ftp in document management module
+ [5.0] Incorrect reuse of same m2m table by 2 osv objects in document module 
prevents creating more than a few files

** Tags added: maintenance

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



_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help   : https://help.launchpad.net/ListHelp

Reply via email to