Closed ryjen closed 1 month ago
I'm still getting the same issue as described above. @ryjen @foundscapes
OS: Android 14 Device: OnePlus 11R version: 0.3.3
@vanichitkara Can you confirm those are not dups from testing with the same image? If you click into them do they have the same identifier?
@ryjen They have different identifiers. These are the following identifiers for the multiple copies of the same image:
IMG20240309104945-jpg-rtboz
IMG20240309104945-jpg-lyek
IMG20240309104945-jpg-1uy2
IMG20240309104945-jpg-npcl
The picture with this image name was uploaded 4 times, and this associated file also came up four times. The picture that was intended to upload also has 4 different identifiers associated with each of them.
@vanichitkara Do you know if any errors occured to achieve the duplicates?
I suspect the uploader is re-running after an error and creating a new identifier now.
It is still better than my previous testing where there was 10+
@ryjen I'll need to test again to see if upload retry is the culprit of these multiple uploads. Give me some time, I'll get back to you tomorrow for this.
@ryjen I tested if the duplicates are coming only for errors while uploading or not. According to my tests, the duplicates came in regardless of whether the uploads had to be retried or not. 4 of my 5 images went in without retry and 5th one had to be retried, but all these images have their duplicates created.
@vanichitkara this is working for me (no dupes), can you retest this weekend and close if it's fixed for you? ty!
@foundscapes, I still see duplicate images after uploading. I uploaded these pictures today to test the teal % and spinner. Phone: OnePlus 11R OS: Android 14 Save version: 0.4.0
Keep in mind, yes, it is still possible to upload the same picture more than once if you intended to.
Based on my testing, the picture evidence is still a vast improvement from the background processes uploading unintentionally (it got quite spammy)
@rapuckett
You might perhaps need to examine the requirements for IA needing a unique filename with randomness generated
a) As to whether it was to bypass errors
Or b) because it has something to do with needing an identifier for the API
In the likely case of b) you may need to design a better folder structure as an identifier or some other method instead of randomness to truly stop intentional and unintentional duplicates.
I have not had this issue in over a month
Describe the bug When uploading a file to internet archive, if you confirm the upload by visiting your https://archive.org account, duplicate files are uploaded.
To Reproduce Steps to reproduce the behavior:
Expected behavior A single copy of the image, related metadata, and proof
Actual behaviour
multiple copies
Screenshots![Screenshot 2024-03-20 at 5 35 26 PM](https://github.com/OpenArchive/Save-app-android/assets/1249111/0d610d7e-8350-4e19-9d42-bfef48f1abe2)
Environment (please complete the following information):
Additional context
The problem could be two things: