-
-
Notifications
You must be signed in to change notification settings - Fork 8
Uncaught TypeError: Cannot read property 'length' of undefined #5
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
Comments
Same error when trying to upload a xml fragment manually using right-click > upload selected. Automatic syncing not working despite .existdb.json file. |
I see this error message from Atom existdb when trying right click > existdb > Upload selected. TypeError: Cannot read property 'length' of undefined ============================================ I reported a related issue here. When will these issues be resolved? |
@datavectors This is a community project and so would benefit from the expertise and contributions of its users. PRs are welcome! |
Having no experience in debugging Atom packages I am still trying to resolve this error. Deprecation report reads: But I don't know how to amend the loadSync code to make it work without errors. Meanwhile, I have found by experimenting that I can simply drag an xml file located in Atom tree view into eXistdb Database collection. However, I would still like to remove these error messages which may deter other users from adopting this otherwise useful workflow. |
I spend some time trying to debug this, just fixing the syntax of There is a flaw in the async logic that tries to evaluate string properties of the textBuffer that aren't set yet. As it stands now, right-click uploading does not work, drag n drop does which is a workaround . |
close eXist-db#27 see eXist-db#28 see eXist-db#5 see atom/atom#3916
so this error is only triggered for right-click uploading of xquery files it seems, xml work fine. |
Hello, I have the same issue. |
any news on this? Just tried it with a xml file and the problem still seem to exist. |
also uploading .xsl files produces the error |
Exception thrown when I created a new function at the bottom of a file. This does not seem to reproduce the error, though.
Atom Version: 1.8.0
System: Mac OS X 10.11.5
Thrown From: existdb package, v0.3.3
Stack Trace
Uncaught TypeError: Cannot read property 'length' of undefined
Commands
Config
Installed Packages
The text was updated successfully, but these errors were encountered: