codesandbox / codesandbox/codesandbox-client

Crash during in deleting multiple items

Open
#5,892 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

💥 Crash Report
Dominant language
JavaScript
Stars
13.6k
Forks
2.4k
Avg merge
6d 19h
Merged PRs (30d)
2

Description

💥 Crash Report

What were you trying to accomplish when the crash occurred?

Please use this issue template to describe what you were doing when you encountered this crash. While we are able to fill in some details automatically, it's not always enough to reproduce!

Link to sandbox: [link]() (optional)
Crash Details
Environment
Browser Version Operating System CodeSandbox Version
chrome 91.0.4472 Windows 10 a566285e0

Route:
https://codesandbox.io/dashboard/drafts?workspace=72f0263f-d74d-4b4a-bcf4-24748f8b2e08

Error Code:
2676e6c1027348579973dbb6254010a7

Error Message
TypeError: Cannot read property 'type' of undefined
TypeError: Cannot read property 'type' of undefined
  at https://codesandbox.io/static/js/app.2d91d8855.js:266:281499
  at Array.filter (<anonymous>)
  at _m (https://codesandbox.io/static/js/app.2d91d8855.js:266:281460)
  at ua (https://codesandbox.io/static/js/common.06f11edc9.chunk.js?_sw-precache=07cdd3d049c0272c26234d6e31131d5e:1:1781090)
  at xs (https://codesandbox.io/static/js/common.06f11edc9.chunk.js?_sw-precache=07cdd3d049c0272c26234d6e31131d5e:1:1826353)
  at ml (https://codesandbox.io/static/js/common.06f11edc9.chunk.js?_sw-precache=07cdd3d049c0272c26234d6e31131d5e:1:1811929)
  at hl (https://codesandbox.io/static/js/common.06f11edc9.chunk.js?_sw-precache=07cdd3d049c0272c26234d6e31131d5e:1:1811854)
  at il (https://codesandbox.io/static/js/common.06f11edc9.chunk.js?_sw-precache=07cdd3d049c0272c26234d6e31131d5e:1:1809182)
  at https://codesandbox.io/static/js/common.06f11edc9.chunk.js?_sw-precache=07cdd3d049c0272c26234d6e31131d5e:1:1767365
  at https://codesandbox.io/static/js/common.06f11edc9.chunk.js?_sw-precache=07cdd3d049c0272c26234d6e31131d5e:1:1842701
  at qo (https://codesandbox.io/static/js/common.06f11edc9.chunk.js?_sw-precache=07cdd3d049c0272c26234d6e31131d5e:1:1767074)
  at Xo (https://codesandbox.io/static/js/common.06f11edc9.chunk.js?_sw-precache=07cdd3d049c0272c26234d6e31131d5e:1:1767310)
  at Yo (https://codesandbox.io/static/js/common.06f11edc9.chunk.js?_sw-precache=07cdd3d049c0272c26234d6e31131d5e:1:1767245)
  at se (https://codesandbox.io/static/js/common.06f11edc9.chunk.js?_sw-precache=07cdd3d049c0272c26234d6e31131d5e:1:1836453)
  at Sn (https://codesandbox.io/static/js/common.06f11edc9.chunk.js?_sw-precache=07cdd3d049c0272c26234d6e31131d5e:1:1750871)

  in _m
  in Bm
  in Wm
  in pb
  in t
  in t
  in div
  in Content___StyledElement
  in Unknown
  in withRouter()
  in main
  in Dashboard___StyledElement2
  in div
  in Dashboard___StyledStack2
  in div
  in Dashboard___StyledStack
  in Unknown
  in De
  in Unknown
  in wy
  in t
  in t
  in div
  in elements__Content
  in n
  in withRouter(n)
  in div
  in elements__Container
  in Unknown
  in withRouter()
  in t
  in Unknown
  in De
  in c
  in t

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the crash from the dashboard route https://codesandbox.io/dashboard/drafts with multiple-item deletion, using the Chrome and Windows environment reported. Trace the minified _m call in app.2d91d8855.js back to its source and identify which deletion state produces the undefined value. Done means deleting multiple items no longer crashes and the regression is covered by an appropriate test.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.