Skip to content

Upload via "share with owncloud" from third party app does not work #1514

Closed

Description

Open third party app (e.g. Gallery), open file/photo, choose "Share with" ... ownCloud. Nothing happens.

Logcat:

03-15 19:59:58.482 4911-4911/com.owncloud.android D/Uploader: Uploading file to dir /InstantUpload/
03-15 19:59:58.652 4911-4911/com.owncloud.android D/Uploader: onPause() ending
03-15 19:59:59.203 4911-4911/com.owncloud.android D/Uploader: onStop() ending
03-15 19:59:59.213 4911-4911/com.owncloud.android D/Uploader: onDestroy() ending
03-15 19:59:59.223 4911-4911/com.owncloud.android V/OperationsService: Destroying service

Activity

  1. ghost closed this as completedon Mar 17, 2016
  2. ghost reopened this on Mar 17, 2016
  3. davivel commented on Mar 18, 2016

    @davivel
    Contributor

    Checking this.

  4. davivel commented on Mar 18, 2016

    @davivel
    Contributor

    OK, I changed this code recently in the branch for uploads view also. Try there if the functionality works better, please.

    That block is really messy. The idea is that there are two paths to upload the file, one that copies it temporary in this block, and other that doesn't (though FileUploaderdoes later :S ) . This is probably the result of bad merges.

    Let's just be sure that the function works well enough in #1493.

  5. davivel commented on Mar 22, 2016

    @davivel
    Contributor

    I applied a fast patch ignoring data (as @LukeOwncloud suggested) in #1493. That should help, but I can't grant it's enough to fix all the problems detected for this feature (receive files sent from other apps). We have reports of problems for certain apps in version 1.9.1, where there is an else path for the condition if (data == null), that is missed at this point.

    So, we need a well-thought code rewrite, and specific QA time for this feature, what is out the scope of #1493.

    But nevertheless, should be fixed for 1.9.2, or the feature could be really broken in the new release.

    @LukeOwncloud , if you don't mind let's continue the tracking of this bug in #1529, where @jesmrec is considering more apps that will be important for the test cases.

  6. davivel commented on Mar 31, 2016

    @davivel
    Contributor

    With the current knowledge about #1529: the problems to send files (not text) to the OC app are better represented here; and this is being fixed for release 2.

    cc @malkomich

  7. added this to the milestone on Mar 31, 2016
  8. davivel commented on Apr 13, 2016

    @davivel
    Contributor

    Should be fixed in #1595

  9. davivel commented on Apr 14, 2016

    @davivel
    Contributor

    Ready to release now :)

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions