New issue
Advanced search Search tips

Issue 778649 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

fileManagerPrivateInternal.executeTask:Unknown error when opening suggest apps dialog

Project Member Reported by yamaguchi@chromium.org, Oct 26 2017

Issue description

Chrome Version: 64.0.3251.0
Also observed in M63.

What steps will reproduce the problem?
(1) Create a file of an unknown type. (e.g. ".ddd" in its suffix)
(2) ctrl-shift-j to open developer console. Switch to [console] tab.
(3) Double-click the file.

> fileManagerPrivateInternal.executeTask: Unknown error.

It can still show the suggest apps dialog correctly.
 
Screenshot 2017-10-26 at 8.55.00 PM.png
460 KB View Download
Status: Available (was: Untriaged)
Looks some conditions in private api are inconsistent.
However the error looks harmless as the failure triggers the suggested app dialog.
Ideally the result type should distinguish between true error and unknown file type.


It attempts to open with browser as the action is "view in browser",
https://cs.chromium.org/chromium/src/chrome/browser/chromeos/file_manager/file_browser_handlers.cc?type=cs&q=ShouldBeOpenedWithBrowser&l=445

However it fails due to unknown file type. It's because it doesn't match any of the filename extension, nor it is a hosted document.
https://cs.chromium.org/chromium/src/chrome/browser/chromeos/file_manager/open_with_browser.cc?type=cs&l=172

Owner: ----

Comment 3 by sashab@chromium.org, Feb 23 2018

Labels: CrOS-FilesApp-FileIntents

Comment 4 by sashab@chromium.org, Feb 28 2018

Labels: -CrOS-FilesApp-FileIntents CrOSFilesFeature-FileIntents
Owner: adanilo@chromium.org
Status: Assigned (was: Available)

Sign in to add a comment