Project

General

Profile

Actions

Bug #3072

closed

[Workbench] Showing the empty collection in Workbench gives an error page

Added by Abram Connelly almost 10 years ago. Updated almost 10 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Tim Pierce
Category:
-
Target version:
Story points:
0.5

Description

Solution:
  1. API server's database should be seeded with the empty collection and a permission link giving anonymous_group permission to read it. (See the anonymous_user method in services/api/lib/current_api_client.rb for creation pattern "create object and/or link as needed".)
  2. Workbench should render links to the empty collection as "Empty collection" instead of the generic "Collection".

Reported as:

I ran a job that failed but had a collection link from the page where individual jobs can be examined. When clicking on the collection link, a "We're sorry, but something went wrong." page appeared.

Offending URL: https://demo.curoverse.com/collections/d41d8cd98f00b204e9800998ecf8427e+0
job page: https://demo.curoverse.com/jobs/qr1hi-8i9sb-ygellbugm4t6viu

Screenshots of the offending page and the page before it are attached.


Files

jobs_page.png (97.6 KB) jobs_page.png Abram Connelly, 06/20/2014 03:34 PM
sorry_something_went_wrong.png (28.4 KB) sorry_something_went_wrong.png Abram Connelly, 06/20/2014 03:34 PM
Screenshot - 07072014 - 01_09_22 PM.png (102 KB) Screenshot - 07072014 - 01_09_22 PM.png Tim Pierce, 07/07/2014 01:09 PM
Screenshot 2014-07-09 at 6.25.17 PM.png (48.3 KB) Screenshot 2014-07-09 at 6.25.17 PM.png Tom Clegg, 07/09/2014 06:25 PM

Subtasks 1 (0 open1 closed)

Task #3237: Review 3072-empty-collection-bugfixResolvedTim Pierce06/20/2014Actions
Actions

Also available in: Atom PDF