Bug #18173

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

Added by Lucas Di Pentima about 1 month ago. Updated 8 days ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
Workbench2
Start date:
Due date:
% Done:

0%

Estimated time:
Story points:
-
Release relationship:
Auto

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.

History

#1 Updated by Peter Amstutz 22 days ago

  • Assigned To set to Daniel Kutyła

#2 Updated by Peter Amstutz 22 days ago

  • Target version changed from 2021-10-13 sprint to 2021-10-27 sprint
  • Assigned To deleted (Daniel Kutyła)

#3 Updated by Peter Amstutz 8 days ago

  • Target version changed from 2021-10-27 sprint to 2021-11-10 sprint

Also available in: Atom PDF