{"action":"created","issue":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/2281","labels_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/2281/labels{/name}","comments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/2281/comments","events_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/2281/events","html_url":"https://github.com/CenterForOpenScience/osf.io/issues/2281","id":63727063,"number":2281,"title":"download count identical for distinct files containing underscores or periods ","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/4%20-%20Working","name":"4 - Working","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-%20High","name":"Priority - High","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":6,"created_at":"2015-03-23T13:50:05Z","updated_at":"2015-03-26T15:56:52Z","closed_at":null,"body":"<h4>Steps</h4>\r\n1. Find a file with an underscore in the title and more than 0 downloads. I used this one: https://osf.io/8qc4x/\r\n2. Download the file or make a new one, saving it with the same name, except swap out the underscore for a period (or vice versa). For instance, this file is title RPP_aaudl.R. You would rename it RPP.aaudl.R\r\n3. Upload the new file to the OSF, in the same component.\r\n\r\n<h4>Outcome</h4>\r\n1. The two files will now be on that OSF component.\r\n2. The two files each have the same download count, even though one was just uploaded and should have 0 downloads.\r\n![screen shot 2015-03-23 at 9 38 35 am](https://cloud.githubusercontent.com/assets/4965832/6781168/f05e4ef0-d141-11e4-848d-8dc6f4059d3d.png)\r\n3. After deleting the old file, the new file still has >0 downloads—the same number that the old file had.\r\n\r\n<h4>Expected</h4>\r\n1. The two files should both be on the OSF (correct, as is)\r\n2. The two files should have different download counts. The new one should have 0 upon upload (presently not correct). The old one should have the same number it had prior to the upload of the new one (correct, as is)\r\n3. Deleting one of the files should not affect the download count of the other (correct, as is)."},"comment":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/comments/86588250","html_url":"https://github.com/CenterForOpenScience/osf.io/issues/2281#issuecomment-86588250","issue_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/2281","id":86588250,"user":{"login":"lbanner","id":2964829,"avatar_url":"https://avatars.githubusercontent.com/u/2964829?v=3","gravatar_id":"","url":"https://api.github.com/users/lbanner","html_url":"https://github.com/lbanner","followers_url":"https://api.github.com/users/lbanner/followers","following_url":"https://api.github.com/users/lbanner/following{/other_user}","gists_url":"https://api.github.com/users/lbanner/gists{/gist_id}","starred_url":"https://api.github.com/users/lbanner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbanner/subscriptions","organizations_url":"https://api.github.com/users/lbanner/orgs","repos_url":"https://api.github.com/users/lbanner/repos","events_url":"https://api.github.com/users/lbanner/events{/privacy}","received_events_url":"https://api.github.com/users/lbanner/received_events","type":"User","site_admin":false},"created_at":"2015-03-26T15:56:52Z","updated_at":"2015-03-26T15:56:52Z","body":"OK -- do we, @chrisseto, have time-frame estimate in proposal on that yet?"}}