← Back to team overview

openerp-india team mailing list archive

[Bug 1103812] Re: webdav_server filecopy fails for 0-byte file

 

** Patch added: "webdav_server.py.patch"
   https://bugs.launchpad.net/openobject-addons/+bug/1103812/+attachment/3497848/+files/webdav_server.py.patch

-- 
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/1103812

Title:
  webdav_server filecopy fails for 0-byte file

Status in OpenERP Addons (modules):
  New

Bug description:
  The corner case of copying a 0-byte length file fails. The bug was
  found in webdav_server.py:DAVHandler._get_body(). A fix is being
  pushed to the openerp-community branch.

  1. Steps To Reproduce: Copy a local zero byte length file, and then
  paste this file into a WebDAV mounted OpenERP folder.

  2. Observation: The OpenERP console logs an HTTP 500 error code -
  Internal Error.

  3. Expectation: A successful copy and paste, like pasting a zero byte
  length file into a local filesystem folder.

  4. Platform: Used the Nautilus file browser on a Debian Testing
  platform hosting both the client and the server.

  5. Version: OpenERP 7.0 branch

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1103812/+subscriptions


References