openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #17680
[Bug 1062258] Re: [Trunk/6.1] External file storage not working
Hello,
Here you can find a fix for that bug. https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1062258-api
(See Document_storage -> unlink)
Good luck,
Arnaud Pineux (API)
** Changed in: openobject-addons
Status: Confirmed => Fix Committed
--
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