{"action":"created","issue":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/3412","labels_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/3412/labels{/name}","comments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/3412/comments","events_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/3412/events","html_url":"https://github.com/CenterForOpenScience/osf.io/issues/3412","id":92459831,"number":3412,"title":"No warning that uploading file of same name replaces original file","user":{"login":"jinluyuan","id":8591162,"avatar_url":"https://avatars.githubusercontent.com/u/8591162?v=3","gravatar_id":"","url":"https://api.github.com/users/jinluyuan","html_url":"https://github.com/jinluyuan","followers_url":"https://api.github.com/users/jinluyuan/followers","following_url":"https://api.github.com/users/jinluyuan/following{/other_user}","gists_url":"https://api.github.com/users/jinluyuan/gists{/gist_id}","starred_url":"https://api.github.com/users/jinluyuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jinluyuan/subscriptions","organizations_url":"https://api.github.com/users/jinluyuan/orgs","repos_url":"https://api.github.com/users/jinluyuan/repos","events_url":"https://api.github.com/users/jinluyuan/events{/privacy}","received_events_url":"https://api.github.com/users/jinluyuan/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/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/labels/priority%20-%20medium","name":"priority - medium","color":"FF810F"}],"state":"open","locked":false,"assignee":{"login":"hmoco","id":6268982,"avatar_url":"https://avatars.githubusercontent.com/u/6268982?v=3","gravatar_id":"","url":"https://api.github.com/users/hmoco","html_url":"https://github.com/hmoco","followers_url":"https://api.github.com/users/hmoco/followers","following_url":"https://api.github.com/users/hmoco/following{/other_user}","gists_url":"https://api.github.com/users/hmoco/gists{/gist_id}","starred_url":"https://api.github.com/users/hmoco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmoco/subscriptions","organizations_url":"https://api.github.com/users/hmoco/orgs","repos_url":"https://api.github.com/users/hmoco/repos","events_url":"https://api.github.com/users/hmoco/events{/privacy}","received_events_url":"https://api.github.com/users/hmoco/received_events","type":"User","site_admin":false},"milestone":null,"comments":16,"created_at":"2015-07-01T18:52:00Z","updated_at":"2015-07-14T18:23:31Z","closed_at":null,"body":"### Steps\r\n1. Go to osf.io\r\n2. Go to one of your projects\r\n3. Upload a file into any storage add-on\r\n4. Edit the file on your computer, without renaming the file\r\n5. Upload the file again\r\n\r\n### Expected behavior\r\nI expected that the files widget would either 1) warn me that my new file would replace the old one or 2) add a \"_1\" into the name of the new file in order to preserve the original file.\r\n\r\n### Actual behavior\r\nNo warning message appears, and my original file is replaced.\r\n\r\n**During upload**\r\n![screen shot 2015-07-01 at 2 50 41 pm](https://cloud.githubusercontent.com/assets/8591162/8462257/8f89ecd4-2000-11e5-9818-939fa877ed6f.png)\r\n\r\n**After upload**\r\n![screen shot 2015-07-01 at 2 50 57 pm](https://cloud.githubusercontent.com/assets/8591162/8462287/b64f6e20-2000-11e5-946c-8a0d94eed8ff.png)\r\n"},"comment":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/comments/121329965","html_url":"https://github.com/CenterForOpenScience/osf.io/issues/3412#issuecomment-121329965","issue_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/3412","id":121329965,"user":{"login":"hmoco","id":6268982,"avatar_url":"https://avatars.githubusercontent.com/u/6268982?v=3","gravatar_id":"","url":"https://api.github.com/users/hmoco","html_url":"https://github.com/hmoco","followers_url":"https://api.github.com/users/hmoco/followers","following_url":"https://api.github.com/users/hmoco/following{/other_user}","gists_url":"https://api.github.com/users/hmoco/gists{/gist_id}","starred_url":"https://api.github.com/users/hmoco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmoco/subscriptions","organizations_url":"https://api.github.com/users/hmoco/orgs","repos_url":"https://api.github.com/users/hmoco/repos","events_url":"https://api.github.com/users/hmoco/events{/privacy}","received_events_url":"https://api.github.com/users/hmoco/received_events","type":"User","site_admin":false},"created_at":"2015-07-14T18:23:31Z","updated_at":"2015-07-14T18:23:31Z","body":"@lbanner we can use it, but it will be a little more difficult if we want to retain the rename function. "}}