c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #07516
Re: [Bug 688044] Re: [6.0-rc1] Error FTP when creating new database
On Thursday 09 December 2010, you wrote:
> ** Changed in: openobject-addons
> Status: New => Confirmed
>
> ** Changed in: openobject-addons
> Assignee: (unassigned) => OpenERP R&D Addons Team 1
> (openerp-dev-addons1)
>
This is not a bug.
Among the tests done for FTP, there is one that tries to place a file in an
invalid folder, the "Weird" one. Naturally, the server replies with an error
message, that is also visible at the logs.
Please be more careful when reading the tracebacks. There is a clear message
that this test _must_ trigger an error.
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/688044
Title:
Document_ftp :error on yml test throws a traceback.
Status in OpenObject Addons Modules:
Confirmed
Bug description:
[2010-12-09 14:44:53,141][mwp_04] WARNING:doc2.nodes:Attempted to create a collection under collection@/Documents/Partners Testing, not possible.
[2010-12-09 14:44:53,142][mwp_04] ERROR:FTP.fs:Cannot create dir "Weird folder" at node collection@/Documents/Partners Testing
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/document_ftp/ftpserver/abstracted_fs.py", line 229, in mkdir
cdir = node.create_child_collection(cr, basename)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/document/nodes.py", line 393, in create_child_collection
raise IOError(errno.EPERM, "Not allowed to create folders here")
IOError: [Errno 1] Not allowed to create folders here
[2010-12-09 14:44:53,142][mwp_04] INFO:FTP:[admin]@127.0.0.1:52122 FAIL mkdir() "Weird folder" errno=1: Operation not permited..
References