Hello,
I have checked this with latest trunk code but did not face the bug specified
traceback.
Would you please check again with the latest code.
You can reopen this with proper steps If you will face similar problem again.
Thanks.
** Changed in: openobject-addons
Status: New => Invalid
--
TRUNK cd .. ERROR 451 in FTP Client
https://bugs.launchpad.net/bugs/673963
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in OpenObject Addons Modules: Invalid
Bug description:
Installed CRM , with document management and demo data.
FTP to the server login admin
tp> pwd
257 "/v6testcrm/principals/__uids__/admin" is the current directory.
ftp> cd ..
451 Exception.
ftp>
[2010-11-11 12:10:11,550][v6testcrm] INFO:FTP:[[email protected]:47461 FAIL
get_crdata() ".." Exception: Exception.
[2010-11-11 12:13:28,698][v6testcrm] ERROR:FTP:[01]: Traceback (most recent
call last):
[2010-11-11 12:13:28,698][v6testcrm] ERROR:FTP:[02]: File
"/home/chanon/OPENERP/openerp-TRUNK/server/bin/addons/document_ftp/ftpserver/ftpserver.py",
line 1800, in try_as_current_user
[2010-11-11 12:13:28,699][v6testcrm] ERROR:FTP:[03]: return
self.run_as_current_user(function, *args, **kwargs)
[2010-11-11 12:13:28,699][v6testcrm] ERROR:FTP:[04]: File
"/home/chanon/OPENERP/openerp-TRUNK/server/bin/addons/document_ftp/ftpserver/ftpserver.py",
line 1775, in run_as_current_user
[2010-11-11 12:13:28,699][v6testcrm] ERROR:FTP:[05]: return function(*args,
**kwargs)
[2010-11-11 12:13:28,699][v6testcrm] ERROR:FTP:[06]: File
"/home/chanon/OPENERP/openerp-TRUNK/server/bin/addons/document_ftp/ftpserver/abstracted_fs.py",
line 274, in get_crdata
[2010-11-11 12:13:28,699][v6testcrm] ERROR:FTP:[07]: assert '..' not in
p_parts
[2010-11-11 12:13:28,700][v6testcrm] ERROR:FTP:[08]: AssertionError
[2010-11-11 12:13:28,700][v6testcrm] INFO:FTP:[[email protected]:47461 FAIL
get_crdata() ".." Exception: Exception.
I think the ".." handling is OS specific and not part of the FTP spec. But I
think it is considered as normal behavior by most client.
_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help : https://help.launchpad.net/ListHelp