New issue
Advanced search Search tips

Issue 679637 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Jan 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

JS console error: "Cannot read property 'volumeInfo' of null" for mounted zip files

Project Member Reported by yamaguchi@chromium.org, Jan 10 2017

Issue description

Chrome Version: 57.0.2951.0
Chrome OS Version: 9086.0.0
Chrome OS Platform: Chromebook Pixel 2

Steps To Reproduce:
(1) Open a zip file in Files app to mount it.
(2) [ctrl] + [shift] + j to open the javascript console for foreground scripts.
(3) Click the mounted volume on the left pane.
(4) See the javascript console.

Expected Result:
No errors.

Actual Result:
"Uncaught TypeError: Cannot read property 'volumeInfo' of null"

 
Description: Show this description
Project Member

Comment 2 by bugdroid1@chromium.org, Jan 10 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/0be63c49d90c37d2e7de8b814589b7d90e3548ea

commit 0be63c49d90c37d2e7de8b814589b7d90e3548ea
Author: yamaguchi <yamaguchi@chromium.org>
Date: Tue Jan 10 08:57:04 2017

Avoid runtime error for some type of entries which don't have volumeInfo.

Mounted ZIP files will not have destinationLocationInfo.volumeInfo field.

BUG= 679637 
TEST=manual test as noted in the bug.
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

Review-Url: https://codereview.chromium.org/2620923002
Cr-Commit-Position: refs/heads/master@{#442535}

[modify] https://crrev.com/0be63c49d90c37d2e7de8b814589b7d90e3548ea/ui/file_manager/file_manager/foreground/js/file_transfer_controller.js

Status: Fixed (was: Started)
Status: Verified (was: Fixed)
Test version 9202.4.0, 57.0.2987.8

Sign in to add a comment