{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/16348","labels_url":"https://api.github.com/repos/owncloud/core/issues/16348/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/16348/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/16348/events","html_url":"https://github.com/owncloud/core/issues/16348","id":76276826,"number":16348,"title":"Spinner keeps spinning when deleting a file in a recipient shared folder with encryption","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/app:encryption","name":"app: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/sev2-high","name":"sev2-high","color":"fc2929"},{"url":"https://api.github.com/repos/owncloud/core/labels/sharing","name":"sharing","color":"e102d8"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-14T08:05:38Z","updated_at":"2015-05-18T15:17:09Z","closed_at":"2015-05-18T15:17:09Z","body":"### Steps to reproduce\r\n\r\n1. Enable encryption app.\r\n2. Enable encryption module in admin page.\r\n3. Relogin.\r\n4. Create user1.\r\n5. As admin, share a folder \"sub\" with \"user1\"\r\n6. Login as user1. (Relogin if needed).\r\n7. Create a text file \"sub/test.txt\"\r\n8. Remove \"sub/test.txt\".\r\n\r\n\r\n\r\n### Expected behaviour\r\nFile is deleted, quickly removing the file from the file list.\r\n\r\n### Actual behaviour\r\nFile is deleted but spinner keeps spinning and file is not removed from the list. It is removed if you refresh the page.\r\n\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.5\",\"versionstring\":\"8.1 beta 1\",\"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\nDefault in enterprise edition.\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\nException: {\"Exception\":\"OC\\\\Encryption\\\\Exceptions\\\\DecryptionFailedException\",\"Message\":\"Encryption library: Decryption (symmetric) of content failed: error:0906D06C:PEM routines:PEM_read_bio:no start line\",\"Code\":0,\"Trace\":\"#0 \\/opt\\/owncloud\\/apps\\/encryption\\/lib\\/crypto\\/crypt.php(294): OCA\\\\Encryption\\\\Crypto\\\\Crypt->decrypt(false, false, '', 'AES-128-CFB')\\n#1 \\/opt\\/owncloud\\/apps\\/encryption\\/lib\\/crypto\\/encryption.php(275): OCA\\\\Encryption\\\\Crypto\\\\Crypt->symmetricDecryptFileContent('\\/*? * Copyright...', '', 'AES-128-CFB')\\n#2 \\/opt\\/owncloud\\/lib\\/private\\/files\\/stream\\/encryption.php(432): OCA\\\\Encryption\\\\Crypto\\\\Encryption->decrypt('\\/*? * Copyright...')\\n#3 \\/opt\\/owncloud\\/lib\\/private\\/files\\/stream\\/encryption.php(278): OC\\\\Files\\\\Stream\\\\Encryption->readCache()\\n#4 [internal function]: OC\\\\Files\\\\Stream\\\\Encryption->stream_read(8192)\\n#5 \\/opt\\/owncloud\\/lib\\/private\\/helper.php(611): fread(Resource id #53, 8192)\\n#6 \\/opt\\/owncloud\\/lib\\/private\\/files\\/storage\\/wrapper\\/encryption.php(430): OC_Helper::streamCopy(Resource id #53, Resource id #54)\\n#7 \\/opt\\/owncloud\\/lib\\/private\\/files\\/storage\\/wrapper\\/encryption.php(403): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Encryption->copyBetweenStorage(Object(OCA\\\\Files_Trashbin\\\\Storage), 'files_trashbin\\/...', 'files_trashbin\\/...', false, false)\\n#8 \\/opt\\/owncloud\\/lib\\/private\\/files\\/storage\\/wrapper\\/wrapper.php(516): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Encryption->copyFromStorage(Object(OCA\\\\Files_Trashbin\\\\Storage), 'files_trashbin\\/...', 'files_trashbin\\/...')\\n#9 \\/opt\\/owncloud\\/lib\\/private\\/files\\/view.php(737): OC\\\\Files\\\\Storage\\\\Wrapper\\\\Wrapper->copyFromStorage(Object(OCA\\\\Files_Trashbin\\\\Storage), 'files_trashbin\\/...', 'files_trashbin\\/...')\\n#10 \\/opt\\/owncloud\\/apps\\/files_trashbin\\/lib\\/trashbin.php(702): OC\\\\Files\\\\View->copy('user1\\/files_tra...', 'admin\\/files_tra...')\\n#11 \\/opt\\/owncloud\\/apps\\/files_trashbin\\/lib\\/trashbin.php(144): OCA\\\\Files_Trashbin\\\\Trashbin::copy_recursive('user1\\/files_tra...', 'admin\\/files_tra...', Object(OC\\\\Files\\\\View))\\n#12 \\/opt\\/owncloud\\/apps\\/files_trashbin\\/lib\\/trashbin.php(220): OCA\\\\Files_Trashbin\\\\Trashbin::copyFilesToOwner('CARPETA\\/mir??ll...', 'admin', '\\/CARPETA\\/mir??l...', 1431590025)\\n#13 \\/opt\\/owncloud\\/apps\\/files_trashbin\\/lib\\/storage.php(100): OCA\\\\Files_Trashbin\\\\Trashbin::move2trash('CARPETA\\/mir??ll...')\\n#14 \\/opt\\/owncloud\\/lib\\/private\\/files\\/view.php(938): OCA\\\\Files_Trashbin\\\\Storage->unlink('mir??ll????????...')\\n#15 \\/opt\\/owncloud\\/lib\\/private\\/files\\/view.php(573): OC\\\\Files\\\\View->basicOperation('unlink', '\\/CARPETA\\/mir??l...', Array)\\n#16 \\/opt\\/owncloud\\/lib\\/private\\/files\\/filesystem.php(677): OC\\\\Files\\\\View->unlink('\\/CARPETA\\/mir??l...')\\n#17 \\/opt\\/owncloud\\/apps\\/files\\/ajax\\/delete.php(59): OC\\\\Files\\\\Filesystem::unlink('\\/CARPETA\\/mir??l...')\\n#18 \\/opt\\/owncloud\\/lib\\/private\\/route\\/route.php(153) : runtime-created function(1): require_once('\\/opt\\/owncloud\\/a...')\\n#19 [internal function]: __lambda_func(Array)\\n#20 \\/opt\\/owncloud\\/lib\\/private\\/route\\/router.php(272): call_user_func('?lambda_821', Array)\\n#21 \\/opt\\/owncloud\\/lib\\/base.php(862): OC\\\\Route\\\\Router->match('\\/apps\\/files\\/aja...')\\n#22 \\/opt\\/owncloud\\/index.php(40): OC::handleRequest()\\n#23 {main}\",\"File\":\"\\/opt\\/owncloud\\/apps\\/encryption\\/lib\\/crypto\\/crypt.php\",\"Line\":351}\r\n```\r\n\r\n### Client configuration\r\n\r\n**browser**\r\nChrome 41\r\n"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/103094294","html_url":"https://github.com/owncloud/core/issues/16348#issuecomment-103094294","issue_url":"https://api.github.com/repos/owncloud/core/issues/16348","id":103094294,"user":{"login":"schiesbn","id":1589737,"avatar_url":"https://avatars.githubusercontent.com/u/1589737?v=3","gravatar_id":"","url":"https://api.github.com/users/schiesbn","html_url":"https://github.com/schiesbn","followers_url":"https://api.github.com/users/schiesbn/followers","following_url":"https://api.github.com/users/schiesbn/following{/other_user}","gists_url":"https://api.github.com/users/schiesbn/gists{/gist_id}","starred_url":"https://api.github.com/users/schiesbn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schiesbn/subscriptions","organizations_url":"https://api.github.com/users/schiesbn/orgs","repos_url":"https://api.github.com/users/schiesbn/repos","events_url":"https://api.github.com/users/schiesbn/events{/privacy}","received_events_url":"https://api.github.com/users/schiesbn/received_events","type":"User","site_admin":false},"created_at":"2015-05-18T15:17:08Z","updated_at":"2015-05-18T15:17:08Z","body":"Fixed with the latest changes to the trashbin on master:\r\n\r\nhttps://github.com/owncloud/core/pull/16404\r\nhttps://github.com/owncloud/core/pull/16399\r\nhttps://github.com/owncloud/core/pull/16405"}}