-
Notifications
You must be signed in to change notification settings - Fork 1.3k
When uploading several files at once the date is missing #1854 #1979
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
* used absolute file path while uploading images. * updated ContributionsDao to save file creation date which previously as used to store current timestamp[the bug]. * creation notification channel before posting notification
Codecov Report
@@ Coverage Diff @@
## master #1979 +/- ##
=========================================
+ Coverage 4.37% 4.37% +<.01%
=========================================
Files 211 211
Lines 10634 10654 +20
Branches 954 956 +2
=========================================
+ Hits 465 466 +1
- Misses 10134 10152 +18
- Partials 35 36 +1
Continue to review full report at Codecov.
|
Hi @ashishkumar468 , I tested this on Nexus S emulator running API 27. When uploading a single image via in-app Gallery, the app crashes on image selection (from Google Photos) with this log:
And uploading from camera crashes with this log:
If you are modifying the upload process to this extent, you may need to do a more thorough round of tests. Generally I would test:
That being said, #1968 should be viable for release soon. Would it be better to piggyback onto that instead? You can submit your change to @maskaravivek 's branch and then you two could include it in his PR. |
@misaochan Piggybacking onto #1968 would be better. Also that might not require these many changes. I think fixing exif data params would just work on that, if that branch is stable and tested. |
When uploading several files at once the date is missing
Fixes #1854 {When uploading several files at once the date is missing}
Description (required)
While uploading images, current date was being passed as date created instead of the actual date created
Fixes #1854 {When uploading several files at once the date is missing}
Instead of copying the image in a temp file, the app would now use the absolute path of the image to upload images. Also, save the actual date created in ContributionsDao in Column "timestamp" which is currently saving uploaded date [resulting in wrong date being show in web ui]
Tests performed (required)
Tested on {29l & Google Pixel}, with {build variant, ProdDebug}.