This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 119
Uncaught TypeError: Cannot read property 'getAllowedLocations' of undefined #433
Labels
Comments
What were you doing when you got the exception? |
I was moving the project column from left to right |
Thanks @vnt - is the error reproducible for you? I just gave it a try with 1.17.0-beta0 and couldn't reproduce. |
just had the same thing happen on 1.17 stable. |
Got the same error as @vnt |
|
I accidentally reproduced this in safe mode when recording a gif and narrowing down steps for atom/github#1142 |
Line 32 in 2decc68
item is valid before passing it to itemIsAllowedInPane (unlike another call on L17). Since the error is of undefined, that means that e.target.item is undefined. The end function is called by tab-view.coffee on drag end: Line 43 in b959a04
e is a dragend event. So I'm guessing in order for this to occur the target element being dragged (the tab) isn't associated with an item? Maybe the easiest fix is to just add an item? check, similar to the one on L17.
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
[Enter steps to reproduce:]
Atom: 1.17.0-beta0 x64
Electron: 1.3.14
OS: Mac OS X 10.11.6
Thrown From: tabs package 0.105.4
Stack Trace
Uncaught TypeError: Cannot read property 'getAllowedLocations' of undefined
Commands
Non-Core Packages
The text was updated successfully, but these errors were encountered: