Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Error when adding files to empty project #7092

Closed
dangoor opened this issue Mar 5, 2014 · 3 comments
Closed

Error when adding files to empty project #7092

dangoor opened this issue Mar 5, 2014 · 3 comments

Comments

@dangoor
Copy link
Contributor

dangoor commented Mar 5, 2014

Steps to reproduce:

  1. Create a new directory
  2. Open that directory in Brackets (there will be no files listed)
  3. In that directory, touch package.json

Expected: package.json is listed in the file tree in Brackets

Observed: No package.json shown, error in the console:

Uncaught TypeError: Object #<error> has no method 'data' ProjectManager.js:838
_treeDataProvider ProjectManager.js:838
$.jstree.plugin._fn.load_node_json jquery.jstree.js:1687
$.jstree._fn.(anonymous function) jquery.jstree.js:234
$.jstree.plugin._fn.load_node jquery.jstree.js:1648
$.jstree._fn.(anonymous function) jquery.jstree.js:234
$.jstree._fn.(anonymous function) jquery.jstree.js:234
(anonymous function) jquery.jstree.js:118
o.extend.each jquery-2.1.0.min.js:2
o.fn.o.each jquery-2.1.0.min.js:2
$.fn.jstree jquery.jstree.js:116
_fileSystemChange ProjectManager.js:2093
o.event.dispatch jquery-2.1.0.min.js:3
r.handle jquery-2.1.0.min.js:3
o.event.trigger jquery-2.1.0.min.js:3
(anonymous function) jquery-2.1.0.min.js:3
o.extend.each jquery-2.1.0.min.js:2
o.fn.o.each jquery-2.1.0.min.js:2
o.fn.extend.trigger jquery-2.1.0.min.js:3
FileSystem._fireChangeEvent FileSystem.js:675
(anonymous function) FileSystem.js:802
watchOrUnwatchCallback FileSystem.js:744
FileSystem._watchOrUnwatchEntry FileSystem.js:267
FileSystem._watchEntry FileSystem.js:334
(anonymous function) FileSystem.js:750
(anonymous function) FileSystem.js:749
_applyAllCallbacks Directory.js:111
(anonymous function) Directory.js:204
(anonymous function) AppshellFileSystem.js:280
(anonymous function) AppshellFileSystem.js:220
(anonymous function) appshell:273
@ingorichter ingorichter self-assigned this Mar 12, 2014
@njx
Copy link

njx commented Mar 12, 2014

Medium priority to @ingorichter

@dangoor
Copy link
Contributor Author

dangoor commented Sep 17, 2014

I have verified that this will be fixed when #8788 lands.

@dangoor dangoor added this to the Release 0.44 milestone Oct 1, 2014
@dangoor
Copy link
Contributor Author

dangoor commented Oct 1, 2014

Fixed

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants