codesandbox / codesandbox/codesandbox-client

selecting couple of pins and right-click one of them crashes app

Open
#6,206 0 comments 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

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 94.0.4606 Windows 10 f51bfda54

Route:
https://codesandbox.io/dashboard/drafts?workspace=78dd657a-51f0-4272-a8a6-7e03bad79dc2

Error Code:
f2693dc6df6b4d2aa51440b005240a8b

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.ff48d23f5.js?_sw-precache=bc4e6e18f7539f4155121416a4ba54f4:266:292873
  at Array.filter (<anonymous>)
  at Im (https://codesandbox.io/static/js/app.ff48d23f5.js?_sw-precache=bc4e6e18f7539f4155121416a4ba54f4:266:292834)
  at ua (https://codesandbox.io/static/js/common.9517b6661.chunk.js:1:1787440)
  at xs (https://codesandbox.io/static/js/common.9517b6661.chunk.js:1:1832703)
  at ml (https://codesandbox.io/static/js/common.9517b6661.chunk.js:1:1818279)
  at hl (https://codesandbox.io/static/js/common.9517b6661.chunk.js:1:1818204)
  at il (https://codesandbox.io/static/js/common.9517b6661.chunk.js:1:1815532)
  at https://codesandbox.io/static/js/common.9517b6661.chunk.js:1:1773715
  at t.unstable_runWithPriority (https://codesandbox.io/static/js/common.9517b6661.chunk.js:1:1849051)
  at qo (https://codesandbox.io/static/js/common.9517b6661.chunk.js:1:1773424)
  at Xo (https://codesandbox.io/static/js/common.9517b6661.chunk.js:1:1773660)
  at Yo (https://codesandbox.io/static/js/common.9517b6661.chunk.js:1:1773595)
  at se (https://codesandbox.io/static/js/common.9517b6661.chunk.js:1:1842803)
  at Sn (https://codesandbox.io/static/js/common.9517b6661.chunk.js:1:1757221)

  in Im
  in Fm
  in qm
  in Zb
  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 ax
  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 at the dashboard/drafts route and reproduce selecting multiple pins before right-clicking one. Use the reported TypeError and the stack trace entry points Im and Fm to locate the corresponding source, then verify that this interaction no longer crashes the app.

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.