gdrive-copy icon indicating copy to clipboard operation
gdrive-copy copied to clipboard

Leaves a copy of my google form in the source folder

Open johnanson opened this issue 7 years ago • 4 comments

Are you requesting a feature or reporting a bug?

Bug

If reporting a bug, is there already an issue open for this same bug?

I didn't see one.

What is the current behavior?

Each time I copy a folder containing a google form and the response spreadsheet, a "Copy of [form file name]" is left in the source folder

What is the expected behavior?

Changes made in the source folder

How would you reproduce the current behavior (if this is a bug)?

Copy a folder containing a google form and the response spreadsheet

Specify your

  • operating system: Windows 10
  • browser: Chrome Version 65.0.3325.181

johnanson avatar Mar 24 '18 04:03 johnanson

I'm not able to reproduce this issue, could I get a few more details?

  1. Does this happen every time you try to copy a folder with Google forms or intermittently?
  2. Does the folder contain other types of files? If so, are the other files in the folder copied correctly?
  3. Are you selecting Yes for the Copy Permissions option in the app?

ericyd avatar Apr 02 '18 22:04 ericyd

Hi Eric

  1. Does this happen every time you try to copy a folder with Google forms or intermittently?
    • It seems to be happening every time.
    • I've just run it a couple of times and it consistently made a "Copy of" the Google Form.
  2. Does the folder contain other types of files? If so, are the other files in the folder copied correctly?
    • The folder contains one form and it's associated spreadsheet, and 5 more spreadsheets
  3. Are you selecting Yes for the Copy Permissions option in the app?
    • No

I watched a copy folder log and kept refreshing the folder in Google Drive:

  • the "copy of" file got created about the time (and before) the form's associated spreadsheet got copied
    • Certainly the form got copied a 10-20 seconds before it's "copy of" copy appeared (the form name happens to sort alphabetically a couple of files above the associated spreadsheet)
  • this is the behaviour I see when I copy the associated spreadsheet using the Google Drive UI "Make a copy" option.

I've attached a screenshot of the folder in case that helps visualise what I describe above.

Thanks for your excellent utility.

Regards, John

On 3 April 2018 at 10:13, Eric Yancey Dauenhauer [email protected] wrote:

I'm not able to reproduce this issue, could I get a few more details?

  1. Does this happen every time you try to copy a folder with Google forms or intermittently?
  2. Does the folder contain other types of files? If so, are the other files in the folder copied correctly?
  3. Are you selecting Yes for the Copy Permissions option in the app?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ericyd/gdrive-copy/issues/41#issuecomment-378062967, or mute the thread https://github.com/notifications/unsubscribe-auth/AXnykdhtxzjDSM5MRWpYIrkPIj0TiXPpks5tkqJ6gaJpZM4S5mg5 .

johnanson avatar Apr 02 '18 23:04 johnanson

Thank you for the extra info. I'm able to reproduce this through the app but not through the Drive API explorer. It also only happens when there is an associated spreadsheet. I'm not sure at this point what a good solution is.

ericyd avatar Apr 03 '18 23:04 ericyd

Maybe

  1. When you copy a spreadsheet with an associated form (I presume this can be queried)
    1. Get the ID of the associated form before the copy
    2. After the copy, if the new-spreadsheet-copy has an associated form with a different ID, then move it into the destination folder.
      1. You could confirm that the new form ID didn't exist before the copy started (creation time? List of file IDs originally under the source directory?)

This would work in our simple use case.

On 4 April 2018 at 11:16, Eric Yancey Dauenhauer [email protected] wrote:

Thank you for the extra info. I'm able to reproduce this through the app but not through the Drive API explorer. It also only happens when there is an associated spreadsheet. I'm not sure at this point what a good solution is.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ericyd/gdrive-copy/issues/41#issuecomment-378429187, or mute the thread https://github.com/notifications/unsubscribe-auth/AXnykQMHTESSzuKGVY3hBGWHsJqIcQlAks5tlALcgaJpZM4S5mg5 .

johnanson avatar Apr 04 '18 02:04 johnanson