{"action":"created","issue":{"url":"https://api.github.com/repos/kaliber5/ember-bootstrap/issues/175","repository_url":"https://api.github.com/repos/kaliber5/ember-bootstrap","labels_url":"https://api.github.com/repos/kaliber5/ember-bootstrap/issues/175/labels{/name}","comments_url":"https://api.github.com/repos/kaliber5/ember-bootstrap/issues/175/comments","events_url":"https://api.github.com/repos/kaliber5/ember-bootstrap/issues/175/events","html_url":"https://github.com/kaliber5/ember-bootstrap/issues/175","id":193901664,"number":175,"title":"appendChild null when using modals from ember-engines","user":{"login":"tylerturdenpants","id":18200519,"avatar_url":"https://avatars.githubusercontent.com/u/18200519?v=3","gravatar_id":"","url":"https://api.github.com/users/tylerturdenpants","html_url":"https://github.com/tylerturdenpants","followers_url":"https://api.github.com/users/tylerturdenpants/followers","following_url":"https://api.github.com/users/tylerturdenpants/following{/other_user}","gists_url":"https://api.github.com/users/tylerturdenpants/gists{/gist_id}","starred_url":"https://api.github.com/users/tylerturdenpants/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tylerturdenpants/subscriptions","organizations_url":"https://api.github.com/users/tylerturdenpants/orgs","repos_url":"https://api.github.com/users/tylerturdenpants/repos","events_url":"https://api.github.com/users/tylerturdenpants/events{/privacy}","received_events_url":"https://api.github.com/users/tylerturdenpants/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-12-06T22:18:30Z","updated_at":"2016-12-14T18:53:58Z","closed_at":null,"body":"When using modals from an engine, the engine routes produces this error if `{{bs-modal}}` is used:  \r\n\r\n```\r\nerror-handler.js:436 TypeError: Cannot read property 'appendChild' of null\r\n    at appendContainerElement (modals-container.js:413)\r\n    at Object.initialize (modals-container.js:422)\r\n    at ember.debug.js:4564\r\n    at Vertices.each (ember.debug.js:2630)\r\n    at Vertices.topsort (ember.debug.js:2597)\r\n    at DAG.topsort (ember.debug.js:2542)\r\n    at Class._runInitializer (ember.debug.js:4592)\r\n    at Class.runInitializers (ember.debug.js:4553)\r\n    at Class.ensureInitializers (ember.debug.js:4499)\r\n    at Class.buildInstance (ember.debug.js:4513)\r\n```\r\n\r\nThe host app has no issues.  Ember 2.10, Ember-engines 0.4.0"},"comment":{"url":"https://api.github.com/repos/kaliber5/ember-bootstrap/issues/comments/267121867","html_url":"https://github.com/kaliber5/ember-bootstrap/issues/175#issuecomment-267121867","issue_url":"https://api.github.com/repos/kaliber5/ember-bootstrap/issues/175","id":267121867,"user":{"login":"tylerturdenpants","id":18200519,"avatar_url":"https://avatars.githubusercontent.com/u/18200519?v=3","gravatar_id":"","url":"https://api.github.com/users/tylerturdenpants","html_url":"https://github.com/tylerturdenpants","followers_url":"https://api.github.com/users/tylerturdenpants/followers","following_url":"https://api.github.com/users/tylerturdenpants/following{/other_user}","gists_url":"https://api.github.com/users/tylerturdenpants/gists{/gist_id}","starred_url":"https://api.github.com/users/tylerturdenpants/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tylerturdenpants/subscriptions","organizations_url":"https://api.github.com/users/tylerturdenpants/orgs","repos_url":"https://api.github.com/users/tylerturdenpants/repos","events_url":"https://api.github.com/users/tylerturdenpants/events{/privacy}","received_events_url":"https://api.github.com/users/tylerturdenpants/received_events","type":"User","site_admin":false},"created_at":"2016-12-14T18:53:58Z","updated_at":"2016-12-14T18:53:58Z","body":"@simonihmig after many days of more hacking it looks as though you have to import the layout \r\n```javascript\r\n\r\n\r\n import layout from '../templates/components/bs-modal';\r\n\r\nexport default Ember.Component.extend({\r\n\tlayout,\r\n...\r\n\r\n```\r\n to get the engine to wormhole the modal.  I'm not too sure why the hbs for the modal lives in `app` while others live in `addon`.  Could you explain? \r\n"}}
{"actor":{"display_login":"tylerturdenpants"}}