-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Regression] render helper not targetable by render({into:...}) #10602
Comments
As currently set up the only way I can get this to work is to change the this.render(template, {
into: 'application',
outlet: 'modal-box'
}); But it still doesn't hold parity with latest release, If I do that then it will error TypeError: Cannot read property 'connectOutlet' of undefined |
Thanks for putting together the JSBin. This is indeed a regression. @rwjblue, this should probably go in the 1.11.0 milestone but I leave that up to you. I can see how to fix it, but it will be kinda gross. |
Sketch of how we can tack this old behavior onto the new infrastructure:
|
@ef4 Thanks! |
@ef4 Running into an issue since upgrading to 1.11 regarding code that changed in this area. I'm using the ember-modals addon which makes a call to this.render from a route with a template name and some options specifying how to render the template. The issue is that appendOrphan gets called but impersonateAnOutlet does not get called at all which is what sets the wasUsed value. I think this may be because impersonateAnOutlet only gets called in the renderHelper and not when calling this.render from a route. Is this an issue with the addon not setting things up correctly or a regression? Is there any other details I can provide for you? |
@drobannx please file a new issue, that sounds like a different problem. |
Possible regression here...Here's a JSBin, works in 1.10 release but not in
beta
orcanary
http://emberjs.jsbin.com/pefuki/1/edit?html,js,output
Running into an issue in the
appendLiveRoute
function when I explicitly passinto
as an optional parameter tothis.render()
ember.js/packages/ember-routing/lib/system/router.js
Line 1023 in c10362b
The text was updated successfully, but these errors were encountered: