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:
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.
Updated by Peter Amstutz over 3 years ago
- Target version changed from 2021-10-13 sprint to 2021-10-27 sprint
- Assigned To deleted (
Daniel Kutyła)
Updated by Peter Amstutz about 3 years ago
- Target version changed from 2021-10-27 sprint to 2021-11-10 sprint
Updated by Peter Amstutz about 3 years ago
- Target version changed from 2021-11-10 sprint to 2021-11-24 sprint
Updated by Ward Vandewege about 3 years ago
- Subject changed from App crashes when accesing a shared collection directly from the home project to App crashes when accessing a shared collection directly from the home project
Updated by Lucas Di Pentima about 3 years ago
- Assigned To set to Lucas Di Pentima
- Category deleted (
Workbench2)
Updated by Lucas Di Pentima about 3 years ago
- Status changed from New to In Progress
Updated by Lucas Di Pentima about 3 years ago
I'm unable to reproduce this problem, even testing with workbench2 2.2.2, but OTOH I'm seeing that a shared with write access collection directly from users's A home project, is seeing as "read-only" when accessed with user B, so I'll be tackling that bug instead.
Updated by Lucas Di Pentima about 3 years ago
The "directly shared collection" bug is already registered at #17400. So I'll just mark this issue as rejected because I cannot reproduce it now.
Updated by Lucas Di Pentima about 3 years ago
- Status changed from In Progress to Rejected
Actions