OpenERP Addons (modules)

Display Documents over FTP-access with / in Filename not posible

Reported by René Glauser on 2011-07-01
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenERP Addons
Wishlist
OpenERP R&D Addons Team 1

Bug Description

Hello
At the moment it is not possible to make files visible over ftp when ther is a / in the filename.e.g in customer-invoices named "SAJ/2011/010"

security vulnerability: yes → no
visibility: private → public
Graeme Gellatly (gdgellatly) wrote :

You shouldn't have a / in the filename no matter what. It is an illegal character for filenames in both Windows and Unix. So you are probably creating directories. When saving those files you should use str.replace('/', '') or more likely object.name.replace('/','')

Changed in openobject-addons:
status: New → Invalid
René Glauser (rene-glauser) wrote :

Thats right....but unfortunately in standard-installation the files created for customer-invoces contains several / in filename e.g."SAJ/2011/010". It is not customer-friendly, that somenone who wants to use ftp-access for invoices should change the file-notation before. Tha bug is maybe that in openerp invalid filenames can be chosen unter report-action. There should be a condition that prevents user from chosing invalid filenames....

Changed in openobject-addons:
status: Invalid → Triaged
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 1 (openerp-dev-addons1)
importance: Undecided → Wishlist
status: Triaged → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers