Project

General

Profile

Actions

Bug #15159

closed

[workbench2] "Open in new tab" shows "cannot serve inline content"

Added by Chrystian Klingenberg over 5 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Start date:
08/16/2021
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Story points:
-
Release relationship:
Auto

Description

When Arvados is configured without wildcard dns/ssl for keep-web, the "open in new tab" option in the three-dot menus to the right of file names in a collection shows this error message in a new tab:

cannot serve inline content at this URL (possible configuration error; see https://doc.arvados.org/install/install-keep-web.html#dns)"

In this configuration, Arvados can not do inline previews due to CORS; download of the file remains possible.

If showing the file in a new tab is not possible, just remove the "open in a new tab" option when Arvados is running in this configuration (only!).

Inline content works when one of these are true:

  • There is a wildcard '*' in the WebDAV ExternalURL
  • Collections.TrustAllContent is true

Collections.TrustAllContent configuration needs to be exported.


Subtasks 1 (0 open1 closed)

Arvados - Task #17975: Review 15159-disable-open-in-new-tab-when-cannot-serve-inlineResolvedLucas Di Pentima08/16/2021

Actions
Actions

Also available in: Atom PDF