Actions
Bug #18173
closedApp crashes when accessing a shared collection directly from the home project
Status:
Rejected
Priority:
Normal
Assigned To:
Category:
Workbench2
Target version:
Start date:
11/12/2021
Due date:
% Done:
100%
Estimated time:
(Total: 0.00 h)
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.
Actions