erp5

erp5

The ERP5 open source ERP/CRM/KM/e-business project

  • Nicolas Wavrant's avatar
    erp5_discussion: discover metadata synchronously of discussion thread's attachment · e08ace32
    Nicolas Wavrant authored
    When some types of files are attached to a forum thread, they may be
    subjected to a portal type migration. This is the case of CSV files, for exemple. What
    happens in that case, is that the document D1 is created with portal_type PT1, then
    discoverMetadata is called, which triggers a portal type migration. Then D1 is deleted, and
    recreated as D2 with portal type D2. The problem is that the migration happens after D1 was attached to
    the Discussion Post (in a different transaction), so the relation between both is broken.
    e08ace32
Name
Last commit
Last update
bt5 Loading commit data...
erp5 Loading commit data...
product Loading commit data...
scalability_test Loading commit data...
slapos Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
CHANGES.erp5.util.txt Loading commit data...
MANIFEST.in Loading commit data...
Products Loading commit data...
README.erp5.util.txt Loading commit data...
setup.py Loading commit data...