codesandbox / codesandbox/codesandbox-client

sandbox crashed on selecting multile files

Open
#6,407 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

💥 Crash Report

I was multiselecting previous projects for deleting them?

I was an unexpected error shows its not possible to delete multiple files at once

Link to sandbox: [link]() (optional)
Crash Details
Environment
Browser Version Operating System CodeSandbox Version
chrome 97.0.4692 Chrome OS x86_64 7b01a4415

Route:
https://codesandbox.io/dashboard/home?workspace=ccf40097-c957-4493-bc2c-f90b1b971e32

Error Code:
0f77ab6211284ce4ae8bba01acc80985

Error Message
TypeError: Cannot read properties of undefined (reading 'type')
TypeError: Cannot read properties of undefined (reading 'type')
  at https://codesandbox.io/static/js/app.274132794.js:266:292703
  at Array.filter (<anonymous>)
  at Im (https://codesandbox.io/static/js/app.274132794.js:266:292664)
  at ua (https://codesandbox.io/static/js/common.eff6be823.chunk.js:1:1789558)
  at xs (https://codesandbox.io/static/js/common.eff6be823.chunk.js:1:1834821)
  at ml (https://codesandbox.io/static/js/common.eff6be823.chunk.js:1:1820397)
  at hl (https://codesandbox.io/static/js/common.eff6be823.chunk.js:1:1820322)
  at il (https://codesandbox.io/static/js/common.eff6be823.chunk.js:1:1817650)
  at https://codesandbox.io/static/js/common.eff6be823.chunk.js:1:1775833
  at t.unstable_runWithPriority (https://codesandbox.io/static/js/common.eff6be823.chunk.js:1:1851169)
  at qo (https://codesandbox.io/static/js/common.eff6be823.chunk.js:1:1775542)
  at Xo (https://codesandbox.io/static/js/common.eff6be823.chunk.js:1:1775778)
  at Yo (https://codesandbox.io/static/js/common.eff6be823.chunk.js:1:1775713)
  at se (https://codesandbox.io/static/js/common.eff6be823.chunk.js:1:1844921)
  at Sn (https://codesandbox.io/static/js/common.eff6be823.chunk.js:1:1759339)

  in Im
  in Fm
  in qm
  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 JC
  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 while selecting multiple previous projects for deletion, then inspect the reported app.274132794.js stack location and error code 0f77ab6211284ce4ae8bba01acc80985. Done means multi-selection and deletion complete without the undefined-type crash.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.