{"action":"closed","issue":{"url":"https://api.github.com/repos/aurelia/templating/issues/468","repository_url":"https://api.github.com/repos/aurelia/templating","labels_url":"https://api.github.com/repos/aurelia/templating/issues/468/labels{/name}","comments_url":"https://api.github.com/repos/aurelia/templating/issues/468/comments","events_url":"https://api.github.com/repos/aurelia/templating/issues/468/events","html_url":"https://github.com/aurelia/templating/issues/468","id":179762784,"number":468,"title":"Attached / detached lifecycle callbacks not working with layoutViewModel","user":{"login":"ksm2","id":1469675,"avatar_url":"https://avatars.githubusercontent.com/u/1469675?v=3","gravatar_id":"","url":"https://api.github.com/users/ksm2","html_url":"https://github.com/ksm2","followers_url":"https://api.github.com/users/ksm2/followers","following_url":"https://api.github.com/users/ksm2/following{/other_user}","gists_url":"https://api.github.com/users/ksm2/gists{/gist_id}","starred_url":"https://api.github.com/users/ksm2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ksm2/subscriptions","organizations_url":"https://api.github.com/users/ksm2/orgs","repos_url":"https://api.github.com/users/ksm2/repos","events_url":"https://api.github.com/users/ksm2/events{/privacy}","received_events_url":"https://api.github.com/users/ksm2/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-28T12:47:14Z","updated_at":"2016-09-28T15:14:36Z","closed_at":"2016-09-28T15:14:36Z","body":"<!--\r\nBUGS: Please use this template.\r\n\r\nSUPPORT REQUESTS/QUESTIONS: If you have a support request or question please\r\nsubmit them to StackOverflow using the tags aurelia and aurelia-framework\r\nhttp://stackoverflow.com/questions/tagged/aurelia\r\nor the Aurelia Gitter https://gitter.im/aurelia/discuss\r\n\r\nBlue Spire offers paid support agreements. Further information regarding paid support\r\nmay be obtained by emailing support@bluespire.com\r\n\r\nFuture support requests submitted here will be closed.\r\n\r\nThe HTML comments below are for your reference, and are not displayed\r\nwhen your issue is submitted, feel free to leave them.\r\n\r\nChoose one of the two headings, delete the other.\r\n-->\r\n**I'm submitting a bug report**\r\n\r\n* **Library Version:**\r\n1.0.0\r\n\r\n\r\n**Please tell us about your environment:**\r\n* **Operating System:**\r\nArch Linux\r\n\r\n* **Node Version:**\r\n6.6.0\r\n\r\n* **NPM Version:**\r\n3.10.8\r\n\r\n* **JSPM OR Webpack AND Version**\r\nwebpack 2.1.0-beta.18\r\n\r\n* **Browser:**\r\nChromium 53\r\n\r\n* **Language:**\r\nTypeScript 2.0.1\r\n\r\n\r\n**Current behavior:**\r\nWhen used within a layouted route, the attached lifecycle is not called.\r\n\r\n**Expected/desired behavior:**\r\n\r\n* **What is the expected behavior?**\r\nWhen I use a custom element or a view model, I expect the attached lifecycle callback to be called at some point. Unfortunately, when using a `layoutViewModel` with my route, this is not happening anymore.\r\n\r\n* **What is the motivation / use case for changing the behavior?**\r\nTo make senseful use of the layout feature, this has to work. Otherwise important custom elements are not working.\r\n\r\nMaybe you could also take a look at my post on SO about layouts, http://stackoverflow.com/questions/38763698/how-to-use-layouts-in-aurelia\r\n\r\nThanks in advance\r\nKonstantin"}}
{"actor":{"display_login":"EisenbergEffect"}}