Kinto / kinto-admin

Kinto Web Administration Console
http://kinto.github.io/kinto-admin/
185 stars 35 forks source link

Crash in `RecordTable.tsx:21` when navigating to read-only collection #3159

Closed leplatrem closed 7 months ago

leplatrem commented 8 months ago

Steps to reproduce

  1. npm start on d26f2c36ed04872dbdb6aae5a9c46efc2c916262
  2. Use server https://remote-settings-dev.allizom.org/v1/
  3. Authentication method: Anonymous
  4. Navigate to #/buckets/main-workspace/collections/normandy-recipes/records

Expected

Would open records of collection in read-only mode

Actual

Crashes with:


Uncaught TypeError: bucket.data is undefined
    ListActions RecordTable.tsx:21
    React 12
    unstable_runWithPriority scheduler.development.js:468
    React 4
    Redux 32
    updateRoute routes.tsx:18
    ComponentWrapper routes.tsx:22
    React 5
    unstable_runWithPriority scheduler.development.js:468
    React 4
    unstable_runWithPriority scheduler.development.js:468
    React 17
    <anonymous> index.tsx:5
2 RecordTable.tsx:21:32

``