Skip to content

GDrive doesn't properly create versions / file rename + overwrite doesn't work as intended #25827

Closed

Description

@PVince81

When uploading a file to GDrive through OC, OC will create a part file then rename it to the final file, overwriting the previous version. However, it seems that GDrive doesn't interpret this as creating a new version (in GDrive's terms). To make GDrive understand it as a new version, one needs to upload directly to the final file and skip the part file.

Raised #25826 to add an API to make it possible for the GDrive storage implementation to opt out of part files.

Activity

  1. added this to the milestone on Aug 17, 2016
  2. PVince81 commented on Sep 20, 2016

    @PVince81
    ContributorAuthor

    Steps:

    1. Mount GDrive in ownCloud as "/GoogleDrive"
    2. Create a text file "/GoogleDrive/test.txt" with the text editor
    3. Then using Webdav (cadaver), upload and overwrite test.txt
    4. Check GDrive's website directly

    Expected

    Single file "test.txt" on GDrive

    Actual

    Two files "test.txt" appear

    Versions

    Observed OC 9.1.1RC3

  3. PVince81 commented on Sep 20, 2016

    @PVince81
    ContributorAuthor

    Fix in progress here #26156

  4. self-assigned this
    on Nov 21, 2016
  5. modified the milestones: 10.0.1, 10.0 on Apr 6, 2017
  6. modified the milestones: 10.0.1, 10.0.3 on May 31, 2017
  7. added
    p2-high
    on Jul 3, 2017
  8. 6 remaining items

  9. ownclouders commented on Jan 11, 2018

    @ownclouders
    Contributor

    Hey, this issue has been closed because the label status/STALE is set and there were no updates for 7 days. Feel free to reopen this issue if you deem it appropriate.

    (This is an automated comment from GitMate.io.)

  10. ownclouders commented on Feb 20, 2018

    @ownclouders
    Contributor

    Hey, this issue has been closed because the label status/STALE is set and there were no updates for 7 days. Feel free to reopen this issue if you deem it appropriate.

    (This is an automated comment from GitMate.io.)

  11. PVince81 commented on Feb 20, 2018

    @PVince81
    ContributorAuthor
  12. removed this from the triage milestone on Apr 10, 2018
  13. lock commented on Jul 30, 2019

    @lock

    This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  14. locked as resolved and limited conversation to collaborators on Jul 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type:Bugapp:files_externalp2-highsev2-high

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions