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.
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.
- Assigned To set to Daniel Kutyła
- Target version changed from 2021-10-13 sprint to 2021-10-27 sprint
- Assigned To deleted (
Daniel Kutyła)
- Target version changed from 2021-10-27 sprint to 2021-11-10 sprint
- Target version changed from 2021-11-10 sprint to 2021-11-24 sprint
- 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
- Assigned To set to Lucas Di Pentima
- Category deleted (
Workbench2)
- Status changed from New to In Progress
- Category set to Workbench2
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.
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.
- Status changed from In Progress to Rejected
Also available in: Atom
PDF