Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Booben crashes when I try to delete a route with content #90

Open
philipp-sorin opened this issue Aug 11, 2018 · 0 comments
Open

Booben crashes when I try to delete a route with content #90

philipp-sorin opened this issue Aug 11, 2018 · 0 comments
Labels
bug Something isn't working priority / high

Comments

@philipp-sorin
Copy link
Contributor

Actually, some another flows lead to this exception. But the main reason is near this line

Here is a strict null check which is successfully passed by undefined value.
Correct code should look like if (currentRoute == null) or if(isNull(currentRoute) || isUndefined(currentRoute))

Exception call stack:
Uncaught TypeError: Cannot read property 'id' of undefined
at _class._renderRouteItem (ComponentsTreeView.js?c276:1274)
at _class.render (ComponentsTreeView.js?c276:1320)
at finishClassComponent (react-dom.development.js?054f:13193)
at updateClassComponent (react-dom.development.js?054f:13155)
at beginWork (react-dom.development.js?054f:13824)
at performUnitOfWork (react-dom.development.js?054f:15863)
at workLoop (react-dom.development.js?054f:15902)
at renderRoot (react-dom.development.js?054f:15942)
at performWorkOnRoot (react-dom.development.js?054f:16560)
at performWork (react-dom.development.js?054f:16482)

Steps to reproduce:
booben crash 1

@piroszhog piroszhog added bug Something isn't working priority / high labels Aug 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority / high
Projects
None yet
Development

No branches or pull requests

2 participants