{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/19403","labels_url":"https://api.github.com/repos/owncloud/core/issues/19403/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/19403/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/19403/events","html_url":"https://github.com/owncloud/core/issues/19403","id":108630197,"number":19403,"title":"[Sidebar][Versions] 500 Internal Server Error is shown trying to restore a version of a deleted file.","user":{"login":"davitol","id":10596560,"avatar_url":"https://avatars.githubusercontent.com/u/10596560?v=3","gravatar_id":"","url":"https://api.github.com/users/davitol","html_url":"https://github.com/davitol","followers_url":"https://api.github.com/users/davitol/followers","following_url":"https://api.github.com/users/davitol/following{/other_user}","gists_url":"https://api.github.com/users/davitol/gists{/gist_id}","starred_url":"https://api.github.com/users/davitol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davitol/subscriptions","organizations_url":"https://api.github.com/users/davitol/orgs","repos_url":"https://api.github.com/users/davitol/repos","events_url":"https://api.github.com/users/davitol/events{/privacy}","received_events_url":"https://api.github.com/users/davitol/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/app:files_trashbin","name":"app:files_trashbin","color":"02d7e1"},{"url":"https://api.github.com/repos/owncloud/core/labels/app:files_versions","name":"app:files_versions","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/feature:sidebar","name":"feature:sidebar","color":"d4c5f9"},{"url":"https://api.github.com/repos/owncloud/core/labels/sev2-high","name":"sev2-high","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/37","html_url":"https://github.com/owncloud/core/milestones/8.2-current","labels_url":"https://api.github.com/repos/owncloud/core/milestones/37/labels","id":993629,"number":37,"title":"8.2-current","description":"","creator":{"login":"craigpg","id":160667,"avatar_url":"https://avatars.githubusercontent.com/u/160667?v=3","gravatar_id":"","url":"https://api.github.com/users/craigpg","html_url":"https://github.com/craigpg","followers_url":"https://api.github.com/users/craigpg/followers","following_url":"https://api.github.com/users/craigpg/following{/other_user}","gists_url":"https://api.github.com/users/craigpg/gists{/gist_id}","starred_url":"https://api.github.com/users/craigpg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craigpg/subscriptions","organizations_url":"https://api.github.com/users/craigpg/orgs","repos_url":"https://api.github.com/users/craigpg/repos","events_url":"https://api.github.com/users/craigpg/events{/privacy}","received_events_url":"https://api.github.com/users/craigpg/received_events","type":"User","site_admin":false},"open_issues":164,"closed_issues":1000,"state":"open","created_at":"2015-02-24T16:19:37Z","updated_at":"2015-09-28T10:53:34Z","due_on":"2015-10-20T04:00:00Z","closed_at":null},"comments":2,"created_at":"2015-09-28T10:33:25Z","updated_at":"2015-09-28T10:54:45Z","closed_at":null,"body":"### Steps to reproduce\r\n\r\n1. Create a file, edit and save it\r\n2. Edit it again and save (a new file version is created)\r\n3. Click on share icon (sidebar is shown)\r\n4. Move the file to the trashbin\r\n5. Restore a version of the file\r\n\r\n### Expected behaviour\r\nIt should not be possible to restore a version of the deleted file.\r\n\r\n### Actual behaviour\r\nA 500 Internal Server Error is shown.\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:** ownCloud Enterprise Edition 8.2 beta1 (daily) Build:2015-09-28T03:08:56+00:00 fe54d76e3dd047876847cebb63ed469c3273cf0a\r\n\r\n**Updated from an older ownCloud or fresh install:**\r\nFresh\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\nNo\r\n\r\n**Logs**\r\n```\r\n```\r\n### Client configuration\r\n\r\n**browser**\r\nFirefox\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/143710464","html_url":"https://github.com/owncloud/core/issues/19403#issuecomment-143710464","issue_url":"https://api.github.com/repos/owncloud/core/issues/19403","id":143710464,"user":{"login":"davitol","id":10596560,"avatar_url":"https://avatars.githubusercontent.com/u/10596560?v=3","gravatar_id":"","url":"https://api.github.com/users/davitol","html_url":"https://github.com/davitol","followers_url":"https://api.github.com/users/davitol/followers","following_url":"https://api.github.com/users/davitol/following{/other_user}","gists_url":"https://api.github.com/users/davitol/gists{/gist_id}","starred_url":"https://api.github.com/users/davitol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davitol/subscriptions","organizations_url":"https://api.github.com/users/davitol/orgs","repos_url":"https://api.github.com/users/davitol/repos","events_url":"https://api.github.com/users/davitol/events{/privacy}","received_events_url":"https://api.github.com/users/davitol/received_events","type":"User","site_admin":false},"created_at":"2015-09-28T10:54:45Z","updated_at":"2015-09-28T10:54:45Z","body":"@PVince81 Yes, I still had the sidebar open, so as you said the PR #19365  will solve the problem"}}