New issue
Advanced search Search tips

Issue 811463 link

Starred by 3 users

Issue metadata

Status: Closed
Owner:
Closed: Nov 22
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug

Blocking:
issue 783200



Sign in to add a comment

Zip Archiver: Hosted documents are not zipped correctly when zipping on Drive

Project Member Reported by mkarkada@chromium.org, Feb 12 2018

Issue description

CrOS version: 10323.30.0, 65.0.3325.65 dev channel eve device

What steps will reproduce the problem?
(1) Goto Files app, mount a zip archive that contains google docs in it (like gdoc, gsheet, gslides etc) 
(2) Open any google doc from this zip archive
(3)

What is the expected result?
Google docs must be opened from a zip archive successfully.

What happens instead?
Unable to open google docs from a zip archive for view.

 
Blocking: 783200
Labels: -M-65 M-66
Summary: Zip Archiver: Hosted document (JSON) doesn't get zipped correctly when zipping on Drive (was: Unable to open google docs from zip archive)
This happens when creating a zip file of a Google Drive hosted document on Drive folder. (i.e. You'd need to use M66 or set flag #enable-zip-archiver-packer to have "Zip Selection" in the context menu there.) So this will not happen in M65.

The expected is the zip file should contain a text file with the JSON text pointing to the Drive entry. However, that conversion didn't at file read operation by the extension and resulted in a 0-byte file.

For contrast, this way will work correctly.
(1) Copy a Google Docs file to Downloads.
(2) Zip the file in Downloads.
(3) Open the zip file.
Summary: Zip Archiver: Hosted documents are not zipped correctly when zipping on Drive (was: Zip Archiver: Hosted document (JSON) doesn't get zipped correctly when zipping on Drive)
@yamaguchi, I performed the steps mentioned in #1 and still unable to open Google Docs file.
- What does "unable to open" mean? { browser window opened but keeps blank with some URL, no response at all, error message, cannot see the docs filename in the zip, etc. }
- What were the file size of the original docs file, the zip file and the Docs file in it, in the both cases?
Hi yamaguchi, 
In first case, I tried opening a gdoc file. Original gdoc size was 171 bytes, zip file size 141MB, and gdoc size in it was 171 bytes.

In second case, I tried opening a gsheet file. Original file size was 175 bytes, zip file size 763KB, and gsheet size in it was 175 bytes.

In both the cases, google docs opened up browser window in blank white background with some URL and resource id information in it. Please refer the attachment.

In case of zip file being created in Gdrive folder with google docs in it, their file size is shown as 0 bytes. Opening such a doc file from zip archive loads browser window with blank white background.
Screenshot 2018-02-14 at 10.57.15 AM.png
216 KB View Download
Labels: zip
Status: Available (was: Untriaged)

Comment 7 Deleted

Comment 8 Deleted

Comment 9 Deleted

Labels: -CrOSFilesApp-Zip CrOS-FilesApp-Zip
<files-triage>
Filed  Issue 812930  as a separate bug because it also happens before changing the zipping extension, if the zip file is made as described specifically.
Labels: -M-66 M-67
Labels: -CrOS-FilesApp-Zip CrOSFilesFeature-Zip
Cc: -yamaguchi@chromium.org
Owner: yamaguchi@chromium.org
Status: Assigned (was: Available)
Cc: yamaguchi@chromium.org
Owner: ----
Status: Available (was: Assigned)
Labels: -Pri-2 -M-67 Pri-3
 Issue 812930  has been merged into this issue.
Labels: Files-Fixit-2018
Owner: sa...@chromium.org
Status: Closed (was: Available)
Zipping hosted docs isn't supported in DriveFS so this shouldn't be a problem.

Sign in to add a comment