{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/16882","labels_url":"https://api.github.com/repos/owncloud/core/issues/16882/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/16882/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/16882/events","html_url":"https://github.com/owncloud/core/issues/16882","id":87333948,"number":16882,"title":"[Experimental files locking] Using encryption renaming a locked folder returns 500","user":{"login":"SergioBertolinSG","id":9048796,"avatar_url":"https://avatars.githubusercontent.com/u/9048796?v=3","gravatar_id":"","url":"https://api.github.com/users/SergioBertolinSG","html_url":"https://github.com/SergioBertolinSG","followers_url":"https://api.github.com/users/SergioBertolinSG/followers","following_url":"https://api.github.com/users/SergioBertolinSG/following{/other_user}","gists_url":"https://api.github.com/users/SergioBertolinSG/gists{/gist_id}","starred_url":"https://api.github.com/users/SergioBertolinSG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SergioBertolinSG/subscriptions","organizations_url":"https://api.github.com/users/SergioBertolinSG/orgs","repos_url":"https://api.github.com/users/SergioBertolinSG/repos","events_url":"https://api.github.com/users/SergioBertolinSG/events{/privacy}","received_events_url":"https://api.github.com/users/SergioBertolinSG/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/owncloud/core/labels/feature:locking","name":"feature:locking","color":"d4c5f9"},{"url":"https://api.github.com/repos/owncloud/core/labels/sev1-critical","name":"sev1-critical","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/31","html_url":"https://github.com/owncloud/core/milestones/8.1-current","labels_url":"https://api.github.com/repos/owncloud/core/milestones/31/labels","id":912160,"number":31,"title":"8.1-current","description":"","creator":{"login":"MorrisJobke","id":245432,"avatar_url":"https://avatars.githubusercontent.com/u/245432?v=3","gravatar_id":"","url":"https://api.github.com/users/MorrisJobke","html_url":"https://github.com/MorrisJobke","followers_url":"https://api.github.com/users/MorrisJobke/followers","following_url":"https://api.github.com/users/MorrisJobke/following{/other_user}","gists_url":"https://api.github.com/users/MorrisJobke/gists{/gist_id}","starred_url":"https://api.github.com/users/MorrisJobke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MorrisJobke/subscriptions","organizations_url":"https://api.github.com/users/MorrisJobke/orgs","repos_url":"https://api.github.com/users/MorrisJobke/repos","events_url":"https://api.github.com/users/MorrisJobke/events{/privacy}","received_events_url":"https://api.github.com/users/MorrisJobke/received_events","type":"User","site_admin":false},"open_issues":84,"closed_issues":1389,"state":"open","created_at":"2014-12-22T12:04:01Z","updated_at":"2015-06-11T15:19:10Z","due_on":"2015-07-07T04:00:00Z","closed_at":null},"comments":2,"created_at":"2015-06-11T12:44:22Z","updated_at":"2015-06-11T15:25:24Z","closed_at":null,"body":"### Steps to reproduce\r\n\r\n1. Enable redis as cache system.\r\n2. Enable experimental files locking.\r\n3. Enable encryption.\r\n4. In admin page use default encryption module.\r\n5. Relogin with admin user.\r\n5. Create a folder 'folder'.\r\n6. Upload a big file 'bigfile' to 'folder' using webdav.\r\n7. Using webdav rename 'folder' to 'renamed_folder' while 'bigfile' is still uploading. \r\n\r\n### Expected behaviour\r\nIt returns 423 locked.\r\n\r\n### Actual behaviour\r\nIt returns 500 internal error.\r\n\r\n### Server configuration\r\n**Operating system**:\r\nUbuntu 14.04\r\n\r\n**Web server:**\r\nApache\r\n\r\n**Database:**\r\nMySQL\r\n\r\n**PHP version:**\r\n5.5.9\r\n\r\n**ownCloud version:** (see ownCloud admin page)\r\n{\"installed\":true,\"maintenance\":false,\"version\":\"8.1.0.6\",\"versionstring\":\"8.1 beta 2\",\"edition\":\"Enterprise\"}\r\n\r\n**Updated from an older ownCloud or fresh install:**\r\nFresh\r\n\r\n**List of activated apps:**\r\nExperimental files locking.\r\nEncryption.\r\n\r\n**The content of config/config.php:**\r\n\r\n```\r\n\r\n```\r\n\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\nYes.\r\n\r\n**Logs**\r\n```\r\n\r\n```\r\n\r\n### Client configuration\r\n\r\nWebdav, cadaver.\r\n"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/111172245","html_url":"https://github.com/owncloud/core/issues/16882#issuecomment-111172245","issue_url":"https://api.github.com/repos/owncloud/core/issues/16882","id":111172245,"user":{"login":"PVince81","id":277525,"avatar_url":"https://avatars.githubusercontent.com/u/277525?v=3","gravatar_id":"","url":"https://api.github.com/users/PVince81","html_url":"https://github.com/PVince81","followers_url":"https://api.github.com/users/PVince81/followers","following_url":"https://api.github.com/users/PVince81/following{/other_user}","gists_url":"https://api.github.com/users/PVince81/gists{/gist_id}","starred_url":"https://api.github.com/users/PVince81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PVince81/subscriptions","organizations_url":"https://api.github.com/users/PVince81/orgs","repos_url":"https://api.github.com/users/PVince81/repos","events_url":"https://api.github.com/users/PVince81/events{/privacy}","received_events_url":"https://api.github.com/users/PVince81/received_events","type":"User","site_admin":false},"created_at":"2015-06-11T15:25:24Z","updated_at":"2015-06-11T15:25:24Z","body":"Works for me on master:\r\n\r\nThread A:\r\n```\r\ndav:/owncloud/remote.php/webdav/> ls\r\nListing collection `/owncloud/remote.php/webdav/': succeeded.\r\nColl:   folder                                 0  Jun 11 17:23\r\n        bacon.txt                           2348  Jun 11 17:14\r\ndav:/owncloud/remote.php/webdav/> cd folder\r\ndav:/owncloud/remote.php/webdav/folder/> put data1.dat \r\nUploading data1.dat to `/owncloud/remote.php/webdav/folder/data1.dat':\r\nProgress: [=============================>] 100.0% of 126679286 bytes succeeded.\r\n```\r\n\r\nThread B:\r\n```\r\nMoving `/owncloud/remote.php/webdav/folder' to `/owncloud/remote.php/webdav/folder2':  failed:\r\n423 Locked\r\n```\r\n\r\nalso with encryption enabled."}}