← Back to team overview

openerp-india team mailing list archive

[Bug 1062258] [NEW] external file storage not working

 

Public bug reported:

Hello,

In the document module the "external file storage" does not store
documents at the right place.

Applicable to 6.1 and probably trunk, as the code did not change.

How to reproduce:
- install the document and project modules
- in Knowldege > Configuration, create a new Storage Media of type External File Storage named External File Storage
- in Knowldege > Configuration, remove all directories except the root (Document)
- change the storage of the Document Directory to External File Storage
- create a new Directory named Projects of type Folder per Resource and set Project as Resource
- create 2 projects named Project1 and Project2
- attach a pdf file to Project1
- attache the same pdf file with the same name to Project2
- browse over FTP: files are visible in folders Projects/Project1 and Projects/Project2 -> ok
- browse the file system: only one PDF can be found at the root of the file store -> strange
- in Project1, remove attachment
- in Project2, try to open the attachment -> system error

-sbi

** Affects: openobject-addons
     Importance: Undecided
         Status: New

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

Title:
  external file storage not working

Status in OpenERP Addons (modules):
  New

Bug description:
  Hello,

  In the document module the "external file storage" does not store
  documents at the right place.

  Applicable to 6.1 and probably trunk, as the code did not change.

  How to reproduce:
  - install the document and project modules
  - in Knowldege > Configuration, create a new Storage Media of type External File Storage named External File Storage
  - in Knowldege > Configuration, remove all directories except the root (Document)
  - change the storage of the Document Directory to External File Storage
  - create a new Directory named Projects of type Folder per Resource and set Project as Resource
  - create 2 projects named Project1 and Project2
  - attach a pdf file to Project1
  - attache the same pdf file with the same name to Project2
  - browse over FTP: files are visible in folders Projects/Project1 and Projects/Project2 -> ok
  - browse the file system: only one PDF can be found at the root of the file store -> strange
  - in Project1, remove attachment
  - in Project2, try to open the attachment -> system error

  -sbi

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1062258/+subscriptions


Follow ups

References