{"action":"created","issue":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/1690","labels_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/1690/labels{/name}","comments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/1690/comments","events_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/1690/events","html_url":"https://github.com/CenterForOpenScience/osf.io/issues/1690","id":56269211,"number":1690,"title":"[discussion] When uploading a new version of a file, whose previous versions had been deleted, the former versions are reborn!","user":{"login":"caileyfitz","id":5975444,"avatar_url":"https://avatars.githubusercontent.com/u/5975444?v=3","gravatar_id":"","url":"https://api.github.com/users/caileyfitz","html_url":"https://github.com/caileyfitz","followers_url":"https://api.github.com/users/caileyfitz/followers","following_url":"https://api.github.com/users/caileyfitz/following{/other_user}","gists_url":"https://api.github.com/users/caileyfitz/gists{/gist_id}","starred_url":"https://api.github.com/users/caileyfitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caileyfitz/subscriptions","organizations_url":"https://api.github.com/users/caileyfitz/orgs","repos_url":"https://api.github.com/users/caileyfitz/repos","events_url":"https://api.github.com/users/caileyfitz/events{/privacy}","received_events_url":"https://api.github.com/users/caileyfitz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/labels/2%20-%20Ready","name":"2 - Ready","color":"CCCCCC"},{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/labels/Bug:%20Production","name":"Bug: Production","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-02T17:51:51Z","updated_at":"2015-02-04T21:21:31Z","closed_at":null,"body":"Reported by @lbanner on the 0.24 Trello board\r\n\r\n# Steps\r\n(1) Find a project with a file that has multiple versions\r\n(2) Delete the file: All versions of the file will no longer be visible and should be deleted\r\n(3) Upload the file again, a new file\r\n\r\n# Expected\r\nThere will be only one version of this new file\r\n\r\n# Actual\r\nThe former, deleted, version(s) of the file are reborn and accessible again when rendering the file. This is currently expected behavior... but should it be?\r\n"},"comment":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/comments/72941952","html_url":"https://github.com/CenterForOpenScience/osf.io/issues/1690#issuecomment-72941952","issue_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/1690","id":72941952,"user":{"login":"jlcohoon","id":4965832,"avatar_url":"https://avatars.githubusercontent.com/u/4965832?v=3","gravatar_id":"","url":"https://api.github.com/users/jlcohoon","html_url":"https://github.com/jlcohoon","followers_url":"https://api.github.com/users/jlcohoon/followers","following_url":"https://api.github.com/users/jlcohoon/following{/other_user}","gists_url":"https://api.github.com/users/jlcohoon/gists{/gist_id}","starred_url":"https://api.github.com/users/jlcohoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlcohoon/subscriptions","organizations_url":"https://api.github.com/users/jlcohoon/orgs","repos_url":"https://api.github.com/users/jlcohoon/repos","events_url":"https://api.github.com/users/jlcohoon/events{/privacy}","received_events_url":"https://api.github.com/users/jlcohoon/received_events","type":"User","site_admin":false},"created_at":"2015-02-04T21:21:31Z","updated_at":"2015-02-04T21:21:31Z","body":"Like you said, this is expected behavior. I actually think it should remain this way. I've used this feature to get back an old version that I changed my mind about deleting. Furthermore, the point isn't really to hide any old information. If you don't want old versions to come back you just have to use a different file name."}}