{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/android/issues/1922","repository_url":"https://api.github.com/repos/owncloud/android","labels_url":"https://api.github.com/repos/owncloud/android/issues/1922/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/android/issues/1922/comments","events_url":"https://api.github.com/repos/owncloud/android/issues/1922/events","html_url":"https://github.com/owncloud/android/issues/1922","id":213691787,"number":1922,"title":"Duplicated uploads from android client - even in same directory","user":{"login":"hodyroff","id":2643573,"avatar_url":"https://avatars2.githubusercontent.com/u/2643573?v=3","gravatar_id":"","url":"https://api.github.com/users/hodyroff","html_url":"https://github.com/hodyroff","followers_url":"https://api.github.com/users/hodyroff/followers","following_url":"https://api.github.com/users/hodyroff/following{/other_user}","gists_url":"https://api.github.com/users/hodyroff/gists{/gist_id}","starred_url":"https://api.github.com/users/hodyroff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hodyroff/subscriptions","organizations_url":"https://api.github.com/users/hodyroff/orgs","repos_url":"https://api.github.com/users/hodyroff/repos","events_url":"https://api.github.com/users/hodyroff/events{/privacy}","received_events_url":"https://api.github.com/users/hodyroff/received_events","type":"User","site_admin":false},"labels":[{"id":12406526,"url":"https://api.github.com/repos/owncloud/android/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":36375184,"url":"https://api.github.com/repos/owncloud/android/labels/sync::upload","name":"sync::upload","color":"009800","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-03-13T07:32:06Z","updated_at":"2017-03-14T12:29:07Z","closed_at":null,"body":"@nneul commented on [Sun Mar 12 2017](https://github.com/owncloud/client/issues/5601)\n\n\r\n### Expected behaviour\r\nSharing a file multiple times with OwnCloud client on android should not result in multiple duplicate copies of the file in the instant upload directory.\r\n\r\n### Actual behaviour\r\nMultiple files created with (2) in the name for example, even though they are checksum identical.\r\n\r\n### Steps to reproduce\r\n1. Allow a file to automatically instant upload\r\n2. Share file explicitly with oc - typically as a \"I want to make sure everything is uploaded\" share in a big batch.\r\n\r\n### Client configuration\r\nClient version: 2.3.0\r\nOperating system: Android\r\n\r\n\r\n\r\nI understand your view that in general OC should not concern itself with duplicate uploads/files/etc. but this is a bit of a more relevant/important edge case with mobile. I think there should either be a means to check and avoid duplicating files during upload process when the files are being uploaded to the SAME directory. \r\n\n\n---\n\n@hodyroff commented on [Mon Mar 13 2017](https://github.com/owncloud/client/issues/5601#issuecomment-286033537)\n\nThis issue happens on Android, right? Please give us some more information about the Android version you are using and how exactly it can be reproduced. \"Share file explicitly with oc\" ... I don't understand. Which menu entry in Android are you using to do that?\n\n"},"comment":{"url":"https://api.github.com/repos/owncloud/android/issues/comments/286406386","html_url":"https://github.com/owncloud/android/issues/1922#issuecomment-286406386","issue_url":"https://api.github.com/repos/owncloud/android/issues/1922","id":286406386,"user":{"login":"nneul","id":828492,"avatar_url":"https://avatars0.githubusercontent.com/u/828492?v=3","gravatar_id":"","url":"https://api.github.com/users/nneul","html_url":"https://github.com/nneul","followers_url":"https://api.github.com/users/nneul/followers","following_url":"https://api.github.com/users/nneul/following{/other_user}","gists_url":"https://api.github.com/users/nneul/gists{/gist_id}","starred_url":"https://api.github.com/users/nneul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nneul/subscriptions","organizations_url":"https://api.github.com/users/nneul/orgs","repos_url":"https://api.github.com/users/nneul/repos","events_url":"https://api.github.com/users/nneul/events{/privacy}","received_events_url":"https://api.github.com/users/nneul/received_events","type":"User","site_admin":false},"created_at":"2017-03-14T12:29:07Z","updated_at":"2017-03-14T12:29:07Z","body":"I think that would be a huge improvement! I think longer term it would be nice if the client did some smart dedup for transfers over the network, but this would be a great incremental improvement. (I understand not deduping on the server - since that rightly should be done by filesystem - but filesystem dedup doesn't help for network transfers if the client isn't aware of it.)\r\n\r\nPlease make sure that it prompts for that resolution action up front at time of share - since the expectation here is that I'd be selecting a large list of files to ask it to share/upload, and then leaving it to slowly do it's uploading. If it hits a new conflict AFTER the upload has started - then just have it error/fail that file. "}}
{"actor":{"display_login":"nneul"}}