{"action":"created","issue":{"url":"https://api.github.com/repos/meteor/meteor/issues/7678","repository_url":"https://api.github.com/repos/meteor/meteor","labels_url":"https://api.github.com/repos/meteor/meteor/issues/7678/labels{/name}","comments_url":"https://api.github.com/repos/meteor/meteor/issues/7678/comments","events_url":"https://api.github.com/repos/meteor/meteor/issues/7678/events","html_url":"https://github.com/meteor/meteor/issues/7678","id":172258112,"number":7678,"title":"Meteor 1.4.1 Error with Global Namespaces","user":{"login":"abhiaiyer91","id":2359375,"avatar_url":"https://avatars.githubusercontent.com/u/2359375?v=3","gravatar_id":"","url":"https://api.github.com/users/abhiaiyer91","html_url":"https://github.com/abhiaiyer91","followers_url":"https://api.github.com/users/abhiaiyer91/followers","following_url":"https://api.github.com/users/abhiaiyer91/following{/other_user}","gists_url":"https://api.github.com/users/abhiaiyer91/gists{/gist_id}","starred_url":"https://api.github.com/users/abhiaiyer91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhiaiyer91/subscriptions","organizations_url":"https://api.github.com/users/abhiaiyer91/orgs","repos_url":"https://api.github.com/users/abhiaiyer91/repos","events_url":"https://api.github.com/users/abhiaiyer91/events{/privacy}","received_events_url":"https://api.github.com/users/abhiaiyer91/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-20T07:09:13Z","updated_at":"2016-08-20T18:40:02Z","closed_at":null,"body":"Hey there.\r\n\r\nIn Meteor 1.3.2.4, we have several global variables within Application code (not packages). Since upgrading to 1.4.1 we are hit with several uncaught exceptions:\r\n\r\n```\r\n2016-08-20 00:02:30.093 [INTERNAL][ERROR] Uncaught Exception: 'ReferenceError: WPBatchJobs is not defined\\n    at meteorInstall.server.batchJobs.js (server/batchJobs.js:24:1)\\n \r\n```\r\n\r\nFor the example above, we have a namespace registered like\r\n\r\n```\r\nWPBatchJobs = {};\r\n```\r\n\r\nThis and several other in-app variables are behaving the same way. Whats the deal? \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/meteor/meteor/issues/comments/241216483","html_url":"https://github.com/meteor/meteor/issues/7678#issuecomment-241216483","issue_url":"https://api.github.com/repos/meteor/meteor/issues/7678","id":241216483,"user":{"login":"abhiaiyer91","id":2359375,"avatar_url":"https://avatars.githubusercontent.com/u/2359375?v=3","gravatar_id":"","url":"https://api.github.com/users/abhiaiyer91","html_url":"https://github.com/abhiaiyer91","followers_url":"https://api.github.com/users/abhiaiyer91/followers","following_url":"https://api.github.com/users/abhiaiyer91/following{/other_user}","gists_url":"https://api.github.com/users/abhiaiyer91/gists{/gist_id}","starred_url":"https://api.github.com/users/abhiaiyer91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhiaiyer91/subscriptions","organizations_url":"https://api.github.com/users/abhiaiyer91/orgs","repos_url":"https://api.github.com/users/abhiaiyer91/repos","events_url":"https://api.github.com/users/abhiaiyer91/events{/privacy}","received_events_url":"https://api.github.com/users/abhiaiyer91/received_events","type":"User","site_admin":false},"created_at":"2016-08-20T18:40:02Z","updated_at":"2016-08-20T18:40:02Z","body":"Every single global defined within my application is blowing up. Resolves by moving into packages and exporting but this is a shitty workaround.\r\n\r\nHeres my trace:\r\n\r\n```\r\n[INTERNAL][ERROR] Uncaught Exception: 'ReferenceError: Feeds is not defined\\n    at meteorInstall.server.feeds.js (server/feeds.js:3:1)\\n    at fileEvaluate (packages/modules-runtime/.npm/package/node_modules/install/install.js:153:1)\\n    at require (packages/modules-runtime/.npm/package/node_modules/install/install.js:82:1)\\n    at /Users/abhiaiyer/Projects/Workpop-Org/Workpop-Web/.meteor/local/build/programs/server/app/app.js:39301:1\\n    at /Users/abhiaiyer/Projects/Workpop-Org/Workpop-Web/.meteor/local/build/programs/server/boot.js:292:10\\n    at Array.forEach (native)\\n    at Function._.each._.forEach (/Users/abhiaiyer/.meteor/packages/meteor-tool/.1.4.1.1qzkxnb++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/underscore/underscore.js:79:11)\\n    at /Users/abhiaiyer/Projects/Workpop-Org/Workpop-Web/.meteor/local/build/programs/server/boot.js:128:5'  >>> Error\r\n```\r\n\r\n"}}
{"actor":{"display_login":"abhiaiyer91"}}