{"action":"opened","issue":{"url":"https://api.github.com/repos/vellerefond/project-ring/issues/35","labels_url":"https://api.github.com/repos/vellerefond/project-ring/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/vellerefond/project-ring/issues/35/comments","events_url":"https://api.github.com/repos/vellerefond/project-ring/issues/35/events","html_url":"https://github.com/vellerefond/project-ring/issues/35","id":93128929,"number":35,"title":"Uncaught TypeError: Cannot read property 'files' of undefined","user":{"login":"shadowlightwolf89","id":12989992,"avatar_url":"https://avatars.githubusercontent.com/u/12989992?v=3","gravatar_id":"","url":"https://api.github.com/users/shadowlightwolf89","html_url":"https://github.com/shadowlightwolf89","followers_url":"https://api.github.com/users/shadowlightwolf89/followers","following_url":"https://api.github.com/users/shadowlightwolf89/following{/other_user}","gists_url":"https://api.github.com/users/shadowlightwolf89/gists{/gist_id}","starred_url":"https://api.github.com/users/shadowlightwolf89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shadowlightwolf89/subscriptions","organizations_url":"https://api.github.com/users/shadowlightwolf89/orgs","repos_url":"https://api.github.com/users/shadowlightwolf89/repos","events_url":"https://api.github.com/users/shadowlightwolf89/events{/privacy}","received_events_url":"https://api.github.com/users/shadowlightwolf89/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-05T17:39:33Z","updated_at":"2015-07-05T17:39:33Z","closed_at":null,"body":"[Enter steps to reproduce below:]\r\n\r\n1. trying to add project folders to the current project...\r\n\r\n**Atom Version**: 1.0.0\r\n**System**: Linux Mint\r\n**Thrown From**: [project-ring](https://github.com/vellerefond/project-ring) package, v0.32.3\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught TypeError: Cannot read property 'files' of undefined\r\n\r\n```\r\nAt /home/USR/.atom/packages/project-ring/lib/project-ring.coffee:604\r\n\r\nTypeError: Cannot read property 'files' of undefined\r\n  at Object.module.exports.fixOpenFilesToCurrentProjectAssociations (/home/USR/.atom/packages/project-ring/lib/project-ring.coffee:604:71)\r\n  at Object.module.exports.add (/home/USR/.atom/packages/project-ring/lib/project-ring.coffee:468:5)\r\n  at /home/USR/.atom/packages/project-ring/lib/project-ring.coffee:198:6\r\n\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n     -5:57 command-palette:toggle (atom-pane.pane.active)\r\n  2x -5:55.7.0 application:open-folder (atom-text-editor.editor.mini.is-focused)\r\n     -5:41.8.0 tree-view:toggle (atom-pane.pane.active)\r\n     -5:39.8.0 project-ring:toggle (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)\r\n     -5:36.1.0 core:cancel (atom-pane.pane.active)\r\n     -5:34.8.0 project-ring:add-project (atom-pane.pane.active)\r\n     -5:30.7.0 core:confirm (atom-text-editor.editor.mini.is-focused)\r\n  2x -5:20.7.0 markdown-writer:insert-new-line (atom-text-editor.editor.is-focused)\r\n     -5:17.2.0 core:save (atom-text-editor.editor.is-focused)\r\n     -3:46 package-generator:generate-package (atom-text-editor.editor.is-focused)\r\n  4x -3:35.9.0 core:backspace (atom-text-editor.editor.mini.is-focused)\r\n     -3:29.5.0 core:confirm (atom-text-editor.editor.mini.is-focused)\r\n  2x -3:21.1.0 core:backspace (atom-text-editor.editor.is-focused)\r\n     -3:19.7.0 core:save (atom-text-editor.editor.is-focused)\r\n     -0:46.4.0 application:open-folder (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)\r\n     -0:11.4.0 core:save (atom-text-editor.editor.is-focused)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {\r\n    \"disabledPackages\": [\r\n      \"atom-gist\",\r\n      \"jekyll-snippets\",\r\n      \"atom-gist\",\r\n      \"jekyll-snippets\",\r\n      \"jekyll-snippets\",\r\n      \"markdown-toc\",\r\n      \"linter-tidy\",\r\n      \"linter-stylint\",\r\n      \"linter-shellcheck\",\r\n      \"linter-scss-lint\",\r\n      \"linter-ruby\",\r\n      \"linter-pylint\",\r\n      \"linter-php\",\r\n      \"linter-lua\",\r\n      \"linter-less\",\r\n      \"linter-jsonlint\",\r\n      \"linter-jshint\",\r\n      \"linter-js-yaml\",\r\n      \"linter-flint\",\r\n      \"linter-csslint\",\r\n      \"linter-coffeelint\",\r\n      \"linter-bootlint\",\r\n      \"linter\",\r\n      \"emmet\",\r\n      \"fonts\"\r\n    ],\r\n    \"themes\": [\r\n      \"isotope-ui\",\r\n      \"duotone-dark-syntax\"\r\n    ]\r\n  },\r\n  \"project-ring\": {\r\n    \"saveAndRestoreThePanesLayout\": true,\r\n    \"keepOutOfPathOpenFilesInCurrentProject\": true\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\natom-beautify, v0.28.7\r\natom-snippets, v0.1.1\r\ncolor-picker, v2.0.7\r\ncss-snippets, v0.8.0\r\ndefault-language, v0.2.0\r\ndocs-snippets, v0.8.0\r\nduotone-dark-syntax, v0.2.0\r\ngulp-snippets, v0.6.1\r\nisotope-ui, v2.5.0\r\nlanguage-handlebars, v0.2.0\r\nlanguage-log, v0.5.0\r\nlanguage-lsl, v2.0.3\r\nlanguage-lua, v0.9.4\r\nlanguage-prolog, v0.10.0\r\nlanguage-tmux, v0.4.0\r\nleanpub-snippets, v0.2.0\r\nmarkdown-preview-plus, v1.5.0\r\nmarkdown-writer, v1.4.0\r\nminimap, v4.10.2\r\nmodular-snippets, v0.2.1\r\npigments, v0.8.2\r\nproject-ring, v0.32.3\r\nset-syntax, v0.3.0\r\ntidy-markdown, v1.0.0\r\n\r\n# Dev\r\nNo dev packages\r\n```"}}