BTreeFolder2: FTP upload not working anymore
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Zope 2 |
Invalid
|
Undecided
|
Unassigned |
Bug Description
FTP Upload of files into a BTreeFolder2 in the ZODB returns this error:
Server response: '426 Error creating file.'
Georg Pfolz (georg-pfolz) wrote : | #2 |
How do I get the traceback? The event_log and the error_log in the zmi do not show anything, even though I'm in debug-mode.
Georg Pfolz (georg-pfolz) wrote : | #3 |
I tried again, running Zope in fg-Mode, but there is no error showing up in the console.
tags: | added: webdav |
Benoît PIN (pinbe) wrote : | #4 |
This bug also occurs when you try to put an item thru webdav.
When a PUT request is done (by webdav for instance), the ressource url requested looks like this:
http://
During traversersing, the object targeted by 'path/to/
Then, the 'my_new_file.txt' is searched, and does not exists, so, a NullResource shoud be created to handle the request.
With a regular folder, it behaves like that.
With the BTreeFolder2, the __getitem__ method, that is used in this case, is inerited from BTreeFolder2.
It can be fixed with the patch file joined to be applied at Products/
Regards,
Benoît.
Benoît PIN (pinbe) wrote : | #5 |
I've forgotten to mention that the patch also solve the bug for the initial problem reported.
Colin Watson (cjwatson) wrote : | #6 |
The zope2 project on Launchpad has been archived at the request of the Zope developers (see https:/
Changed in zope2: | |
status: | Confirmed → Invalid |
More details would be nice, like a server side traceback. But given how FTP is basically unsupported, this wouldn't surprise me.