{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/14169","labels_url":"https://api.github.com/repos/owncloud/core/issues/14169/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/14169/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/14169/events","html_url":"https://github.com/owncloud/core/issues/14169","id":57494077,"number":14169,"title":"Cannot WebDAV upload file into shared folder as recipient with enc enabled","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},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/8.1%20Bugfixing%20Shortlist","name":"8.1 Bugfixing Shortlist","color":"009800"},{"url":"https://api.github.com/repos/owncloud/core/labels/app:files_encryption","name":"app:files_encryption","color":"02d7e1"},{"url":"https://api.github.com/repos/owncloud/core/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/owncloud/core/labels/Regression","name":"Regression","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/31","labels_url":"https://api.github.com/repos/owncloud/core/milestones/31/labels","id":912160,"number":31,"title":"8.1-next","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":361,"closed_issues":69,"state":"open","created_at":"2014-12-22T12:04:01Z","updated_at":"2015-02-13T14:16:33Z","due_on":"2015-04-02T22:00:00Z","closed_at":null},"comments":4,"created_at":"2015-02-12T17:44:45Z","updated_at":"2015-02-13T14:43:51Z","closed_at":null,"body":"### Steps to reproduce\r\n1. Enable encryption (note: I haven't tried without it yet)\r\n2. Log out and log in again as admin (\"root\")\r\n3. Create a user \"user1\"\r\n4. Login as \"user1\"\r\n5. Create folder \"folder\"\r\n6. With a WebDAV client (cadaver), login as \"root\"\r\n7. PUT a file into \"folder\"\r\n\r\n### Expected result\r\nUpload works.\r\n\r\n### Actual result\r\n```\r\n{\"reqId\":\"JhB52rcUn5cVvkFUgjdg\",\"remoteAddr\":\"127.0.0.1\",\"app\":\"PHP\",\"message\":\"filemtime(): stat failed for \\/srv\\/www\\/htdocs\\/owncloud\\/data\\/user1\\/files\\/folder\\/test.txt at \\/srv\\/www\\/htdocs\\/owncloud\\/lib\\/private\\/files\\/storage\\/local.php#138\",\"level\":0,\"time\":\"2015-02-12T17:41:16+00:00\",\"method\":\"PUT\",\"url\":\"\\/owncloud\\/remote.php\\/webdav\\/folder\\/test.txt\"}\r\n{\"reqId\":\"JhB52rcUn5cVvkFUgjdg\",\"remoteAddr\":\"127.0.0.1\",\"app\":\"PHP\",\"message\":\"filesize(): stat failed for \\/srv\\/www\\/htdocs\\/owncloud\\/data\\/user1\\/files\\/folder\\/test.txt at \\/srv\\/www\\/htdocs\\/owncloud\\/lib\\/private\\/files\\/storage\\/local.php#121\",\"level\":0,\"time\":\"2015-02-12T17:41:16+00:00\",\"method\":\"PUT\",\"url\":\"\\/owncloud\\/remote.php\\/webdav\\/folder\\/test.txt\"}\r\n{\"reqId\":\"JhB52rcUn5cVvkFUgjdg\",\"remoteAddr\":\"127.0.0.1\",\"app\":\"remote\",\"message\":\"An exception occurred while executing 'INSERT INTO `oc_filecache` (`mimepart`, `mimetype`, `mtime`, `size`, `etag`, `storage_mtime`, `permissions`, `path_hash`, `path`, `parent`, `name`, `storage`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' with params [\\\"8\\\", \\\"8\\\", false, false, \\\"54dce5bc58456\\\", false, 0, \\\"8b56397656221e042b8dc40fe87f9e5a\\\", \\\"files\\\\\\/folder\\\\\\/test.txt\\\", \\\"28\\\", \\\"test.txt\\\", \\\"3\\\"]:\\n\\nSQLSTATE[22007]: Invalid datetime format: 1366 Incorrect integer value: '' for column 'mtime' at row 1\",\"level\":4,\"time\":\"2015-02-12T17:41:16+00:00\",\"method\":\"PUT\",\"url\":\"\\/owncloud\\/remote.php\\/webdav\\/folder\\/test.txt\"}\r\n```\r\n\r\n### Versions\r\nownCloud 8.1 pre-alpha git master (8e8acad550e45dfd7b17efca2fcb41582cd09e36)\r\n\r\n@schiesbn @icewind1991 I suspect it might be related to the \"reuse file id\" PR.\r\n\r\nGoing to bisect this now."},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/74263421","html_url":"https://github.com/owncloud/core/issues/14169#issuecomment-74263421","issue_url":"https://api.github.com/repos/owncloud/core/issues/14169","id":74263421,"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-02-13T14:43:51Z","updated_at":"2015-02-13T14:43:51Z","body":"This was with mariadb-10.0.14-2.3.x86_64 in case that makes a difference.\r\nDid you follow the exact same steps ?\r\n\r\n"}}