Project

General

Profile

Actions

Bug #4676

closed

[Workbench] Collection "Sharing link" AJAX intermittently returns text/html

Added by Brett Smith over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Workbench
Target version:
Story points:
0.5

Description

Steps to reproduce:

  • Go to a Collection's page.
  • In the "Sharing and permissions" box, alternate clicking on the "Create sharing link" and "Unshare" buttons.

Sooner or later, the text in the box will fail to toggle as it should. According to the browser console, this happens because the request headers say it's returning HTML. The content is actually JavaScript, but the header means the browser doesn't execute it as expected. Ensure that this method consistently returns JavaScript as its Content-Type.


Related issues

Copied from Arvados - Bug #4291: [Workbench] Create sharing link for a collection is brokenResolvedBrett Smith10/28/2014Actions
Actions

Also available in: Atom PDF