{"action":"created","issue":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/1719","labels_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/1719/labels{/name}","comments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/1719/comments","events_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/1719/events","html_url":"https://github.com/CenterForOpenScience/osf.io/issues/1719","id":56589922,"number":1719,"title":"Cannot delete .sta file from file details page","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},"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"},{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/labels/Priority%20-%20Medium","name":"Priority - Medium","color":"FF810F"}],"state":"open","locked":false,"assignee":{"login":"huangginny","id":8628591,"avatar_url":"https://avatars.githubusercontent.com/u/8628591?v=3","gravatar_id":"","url":"https://api.github.com/users/huangginny","html_url":"https://github.com/huangginny","followers_url":"https://api.github.com/users/huangginny/followers","following_url":"https://api.github.com/users/huangginny/following{/other_user}","gists_url":"https://api.github.com/users/huangginny/gists{/gist_id}","starred_url":"https://api.github.com/users/huangginny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huangginny/subscriptions","organizations_url":"https://api.github.com/users/huangginny/orgs","repos_url":"https://api.github.com/users/huangginny/repos","events_url":"https://api.github.com/users/huangginny/events{/privacy}","received_events_url":"https://api.github.com/users/huangginny/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-02-04T21:26:08Z","updated_at":"2015-03-06T18:27:21Z","closed_at":null,"body":"<h4>Steps</h4>\r\n1. Upload a file to the OSF. I uploaded a .sta file and this was producing the error. I have not yet replicated it with another file. You can access the file I used <a href=\"https://www.dropbox.com/s/7jac9ud8pvkox8u/Data%20-%20Harmon-Jones%202008%20Study%202%20Replication%20Project%20-%20Gable%20%26%20Mechin.sta?dl=0\">here</a>.\r\n2. From the file's detail page, click on delete.\r\n3. When that fails, go to the file tree and delete the file from there by clicking the \"x\" in the action column\r\n\r\n<h4>Actual</h4>\r\n1. The user sees an error pop up when they try to delete the file from the file detail page. The console logs an error (shown below) as well.\r\n![screen shot 2015-02-04 at 4 17 09 pm](https://cloud.githubusercontent.com/assets/4965832/6050039/6c9ead98-ac8a-11e4-895d-79d55fc55016.png)\r\n2. From the file tree, deleting is successful.\r\n\r\n<h4>Expected</h4>\r\n1. The user should be able to delete files of any type from the detail or file tree pages. "},"comment":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/comments/77609408","html_url":"https://github.com/CenterForOpenScience/osf.io/issues/1719#issuecomment-77609408","issue_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/1719","id":77609408,"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-03-06T18:27:21Z","updated_at":"2015-03-06T18:27:21Z","body":"It seems to be working now actually. @huangginny, it's wasn't the project that's the problem—it's that particular file. In any case, it seems to be fixed."}}