{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/20069","labels_url":"https://api.github.com/repos/owncloud/core/issues/20069/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/20069/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/20069/events","html_url":"https://github.com/owncloud/core/issues/20069","id":113437026,"number":20069,"title":"WebDAV MOVE on a non existing file results in Internal Server Error ","user":{"login":"davivel","id":2225614,"avatar_url":"https://avatars.githubusercontent.com/u/2225614?v=3","gravatar_id":"","url":"https://api.github.com/users/davivel","html_url":"https://github.com/davivel","followers_url":"https://api.github.com/users/davivel/followers","following_url":"https://api.github.com/users/davivel/following{/other_user}","gists_url":"https://api.github.com/users/davivel/gists{/gist_id}","starred_url":"https://api.github.com/users/davivel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davivel/subscriptions","organizations_url":"https://api.github.com/users/davivel/orgs","repos_url":"https://api.github.com/users/davivel/repos","events_url":"https://api.github.com/users/davivel/events{/privacy}","received_events_url":"https://api.github.com/users/davivel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"rullzer","id":45821,"avatar_url":"https://avatars.githubusercontent.com/u/45821?v=3","gravatar_id":"","url":"https://api.github.com/users/rullzer","html_url":"https://github.com/rullzer","followers_url":"https://api.github.com/users/rullzer/followers","following_url":"https://api.github.com/users/rullzer/following{/other_user}","gists_url":"https://api.github.com/users/rullzer/gists{/gist_id}","starred_url":"https://api.github.com/users/rullzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rullzer/subscriptions","organizations_url":"https://api.github.com/users/rullzer/orgs","repos_url":"https://api.github.com/users/rullzer/repos","events_url":"https://api.github.com/users/rullzer/events{/privacy}","received_events_url":"https://api.github.com/users/rullzer/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/58","html_url":"https://github.com/owncloud/core/milestones/8.2.1-current-maintenance","labels_url":"https://api.github.com/repos/owncloud/core/milestones/58/labels","id":1300157,"number":58,"title":"8.2.1-current-maintenance","description":"","creator":{"login":"cmonteroluque","id":879976,"avatar_url":"https://avatars.githubusercontent.com/u/879976?v=3","gravatar_id":"","url":"https://api.github.com/users/cmonteroluque","html_url":"https://github.com/cmonteroluque","followers_url":"https://api.github.com/users/cmonteroluque/followers","following_url":"https://api.github.com/users/cmonteroluque/following{/other_user}","gists_url":"https://api.github.com/users/cmonteroluque/gists{/gist_id}","starred_url":"https://api.github.com/users/cmonteroluque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmonteroluque/subscriptions","organizations_url":"https://api.github.com/users/cmonteroluque/orgs","repos_url":"https://api.github.com/users/cmonteroluque/repos","events_url":"https://api.github.com/users/cmonteroluque/events{/privacy}","received_events_url":"https://api.github.com/users/cmonteroluque/received_events","type":"User","site_admin":false},"open_issues":24,"closed_issues":40,"state":"open","created_at":"2015-09-10T21:50:07Z","updated_at":"2015-10-27T07:48:48Z","due_on":"2015-11-17T04:00:00Z","closed_at":null},"comments":4,"created_at":"2015-10-26T19:50:41Z","updated_at":"2015-10-27T08:21:09Z","closed_at":null,"body":"### Steps to reproduce\r\n1. In the web UI, create a folder named ```src``` in the root folder; leave it empty.\r\n2. From command line, type\r\n```curl -v -u [user]:[password] https://[domain_and_base_path]/remote.php/webdav/src/nofile.txt -X MOVE -H \"Destination:https://[domain_and_base_path]/remote.php/webdav/nofile.txt\" -H \"Overwrite:F\"```\r\n\r\n### Expected behaviour\r\nHTTP/1.1 404 Not Found\r\n...\r\nException with message ```File with name src/nofile.txt could not be located``` (seen in version 8.1.3)\r\n\r\n### Actual behaviour\r\nHTTP/1.1 500 Internal Server Error\r\n...\r\nNo response body\r\n\r\n### Server configuration\r\n**Operating system**:\r\nUbuntu\r\n\r\n**Web server:**\r\nApache/2.4.7\r\n\r\n**Database:**\r\nMySQL\r\n\r\n**PHP version:**\r\nPHP/5.5.9-1ubuntu4.13\r\n\r\n**ownCloud version:** (see ownCloud admin page)\r\nownCloud 8.2.0 (stable)\r\n8.2.0.12 in status.php\r\n\r\n**Updated from an older ownCloud or fresh install:**\r\nFresh\r\n\r\n**List of activated apps:**\r\nActivity  2.1.3\r\nDeleted files  0.7.0\r\nFile Locking  \r\nFirst Run Wizard  1.1\r\nGallery  14.2.0\r\nMail Template Editor  0.1\r\nNotifications  0.1.0\r\nPDF Viewer  0.7\r\nProvisioning API  0.3.0\r\nShare Files  0.7.0\r\nText Editor  2.0\r\nUpdater  0.6\r\nVersions  1.1.0\r\nVideo Viewer  0.1.3\r\n\r\n**Are you using external storage, if yes which one:** local/smb/sftp/...\r\nNo\r\n\r\n**Are you using encryption:**\r\nNo\r\n\r\n**Are you using an external user-backend, if yes which one:**\r\nNo\r\n\r\n\r\n#### ownCloud log (data/owncloud.log)\r\n```Error\tPHP\tCall to a member function isDeletable() on a non-object at /opt/owncloud/lib/private/connector/sabre/filesplugin.php#135\t2015-10-26T19:48:30+00:00 ```\r\n\r\n\r\n#### EXTRA\r\nThere is no error if nofile.txt is \"located\" in the root folder, instead of a subfolder.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/151411351","html_url":"https://github.com/owncloud/core/issues/20069#issuecomment-151411351","issue_url":"https://api.github.com/repos/owncloud/core/issues/20069","id":151411351,"user":{"login":"rullzer","id":45821,"avatar_url":"https://avatars.githubusercontent.com/u/45821?v=3","gravatar_id":"","url":"https://api.github.com/users/rullzer","html_url":"https://github.com/rullzer","followers_url":"https://api.github.com/users/rullzer/followers","following_url":"https://api.github.com/users/rullzer/following{/other_user}","gists_url":"https://api.github.com/users/rullzer/gists{/gist_id}","starred_url":"https://api.github.com/users/rullzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rullzer/subscriptions","organizations_url":"https://api.github.com/users/rullzer/orgs","repos_url":"https://api.github.com/users/rullzer/repos","events_url":"https://api.github.com/users/rullzer/events{/privacy}","received_events_url":"https://api.github.com/users/rullzer/received_events","type":"User","site_admin":false},"created_at":"2015-10-27T08:21:09Z","updated_at":"2015-10-27T08:21:09Z","body":"PR in #20076"}}