Bug #18966
closedRequesting a non-visible collection UUID shows a blank page
100%
Description
When a user attempts to view an existing collection that they don't have read access to, or a non-existing collection (but valid) UUID, the resulting UI is a blank page. (see attached screenshot)
From reading the browser's devtools networkl screen, it seems that collection is being request via a LIST call with all it's past versions, so a 404 response isn't available when the UUID cannot be accessed or doesn't exist.
Files
Updated by Lucas Di Pentima over 2 years ago
- Status changed from New to In Progress
- Assigned To set to Lucas Di Pentima
Updated by Lucas Di Pentima over 2 years ago
- Related to Bug #18484: Direct links to Collections are retrieving the full manifest_text for no reason added
Updated by Lucas Di Pentima over 2 years ago
Updates at arvados-workbench2|c1c27e7f - branch 18966-collection-not-found-ui
- developer-tests-workbench2: #640
- Changes the
collectionService.get()
func to use a GET request instead of LIST. To avoid getting themanifest_text
field, it passes a hardcoded list of default fields that excludes it. - Improves Cypress test related to the "not found" dialog, adding more cases, including collections.
- Updates
collectionService.get()
unit tests to reflect the current behavior.
Updated by Lucas Di Pentima over 2 years ago
Updates at arvados-workbench2|08c3068 - developer-tests-workbench2: #642
(previous test failure seems to be a caused by a new flaky test)
- Changes Cypress config to avoid saving videos on successfull test cases. It saves ~15% of the current time it takes the whole run (around 5 minutes)
Updated by Stephen Smith over 2 years ago
Only one minor thing - it looks like an it.only() snuck in from the main branch in the search spec L85, but otherwise everything passes and it LGTM!
Updated by Lucas Di Pentima over 2 years ago
Updates at arvados-workbench2|41b06aa9 - developer-tests-workbench2: #643
- Removes an
it.only()
call from thecypress/integration/search.spec.js
test suite.
Updated by Lucas Di Pentima over 2 years ago
- Status changed from In Progress to Resolved
Applied in changeset arvados-workbench2|8045851b13e03215f3f2c8be6d54b43bd4619862.