Project

General

Profile

Actions

Bug #18173

closed

App crashes when accessing a shared collection directly from the home project

Added by Lucas Di Pentima about 3 years ago. Updated about 3 years ago.

Status:
Rejected
Priority:
Normal
Assigned To:
Category:
Workbench2
Story points:
-

Description

When a user shares a collection that lives below it's "home project", and another user attempts to access it, is getting the following error on the JS console:

react-dom.production.min.js:198 TypeError: Cannot read properties of undefined (reading 'indexOf')
    at Function.mapToProps (collection-panel.tsx:124)
    at r (wrapMapToProps.js:43)
    at selectorFactory.js:52
    at h (selectorFactory.js:69)
    at selectorFactory.js:74
    at Object.run (connectAdvanced.js:26)
    at a.onStateChange (connectAdvanced.js:199)
    at Object.notify (Subscription.js:26)
    at e.notifyNestedSubs (Subscription.js:65)
    at a.onStateChange (connectAdvanced.js:202)

I think this has to do with the read-only check that wb2 does; probably writable_by is undefined when the parent is a user.


Subtasks 1 (0 open1 closed)

Arvados - Task #18352: ReviewResolvedStephen Smith11/12/2021Actions
Actions

Also available in: Atom PDF