openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #17702
[Bug 1062258] Re: [Trunk/6.1] External file storage not working
Hello,
I've not tested yet, but I've had a quick look at the patch. If I
understand well, it's a kind of reference counter on files?
But what if two attachements on different objects have the same name but
a different content. Will that work?
Regards,
-sbi
--
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:
[Trunk/6.1] External file storage not working
Status in OpenERP Addons (modules):
Fix Committed
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
References