Skip to content
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

[Bug] Every picture twice on phone (DCIM and InstantUpload) #156

Closed
laryllian opened this issue May 6, 2013 · 6 comments
Closed

[Bug] Every picture twice on phone (DCIM and InstantUpload) #156

laryllian opened this issue May 6, 2013 · 6 comments

Comments

@laryllian
Copy link

Heyho,
on my phone I now have every picture twice, once in my phone's camera/DCIM folder and once in the InstantUpload folder. This issue could maybe resolved by fixing #116, if also a folder on the phone could be synced. Then I would just point the sync to my camera folder (which would then also fix #149). ;-)

@davivel
Copy link
Contributor

davivel commented May 7, 2013

Well, not a bug. This is intended, although we will probably review it, you are not the only one who doesn't like it.

@ghost
Copy link

ghost commented Jul 28, 2013

My problem with this is that I took ~6,5 GB of pictures during my visit abroad with my Galaxy Note II (all pictures are saved to my external storage (32 GB SD-card) and when I returned back home the Android App started to upload all the pictures and to also eating up all of my internal storage ( I had 7 GB free) so in the end I only had 500 MB of free space left on the internal storage and the system started to complain about this so I had to delete my ownCloud-folder from the phone to get the system to work again.

@laryllian
Copy link
Author

Thx @Mannerheim, for providing a proper use case. ;)

@davivel
Copy link
Contributor

davivel commented Jan 16, 2014

This issue is included in the more general #346 (not only for images) . Please, track its state there.

@davivel davivel closed this as completed Jan 16, 2014
@aurusa
Copy link

aurusa commented Mar 27, 2014

is it possible solve this issue with

mStorageManager.removeFile(upload.getFile(), true, true);

inside

com.owncloud.android.files.services/FileUploader.java

private void notifyUploadResult(RemoteOperationResult uploadResult, UploadFileOperation upload) {
Log_OC.d(TAG, "NotifyUploadResult with resultCode: " + uploadResult.getCode());
if (uploadResult.isCancelled()) {
// / cancelled operation -> silent removal of progress notification
mNotificationManager.cancel(R.string.uploader_upload_in_progress_ticker);

    } else if (uploadResult.isSuccess()) {
    ....
    // Delete uploaded local file 
        mStorageManager.removeFile(upload.getFile(), true, true);
    } else {

???

@davivel
Copy link
Contributor

davivel commented Mar 28, 2014

This issue is closed. Please, follow it at #346.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants