Bug #3072
Updated by Tom Clegg almost 11 years ago
Solution: # API server's database collections.get method should be seeded always respond 200 with a valid collection when asked for the empty collection and a zero-byte manifest. No database lookup or 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".) check is needed! # 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.