For translation purposes, I need to switch to a route in which I do some initialisation of the new language settings and then transition back to the initial application page.
See a working example with Ember rc6 on http://jsfiddle.net/cyclomarc/dpDuM/2/
Flow: When clicking Show page1, show the contents of page 1, when clicking on Update language, transition to i18Redirect route and in this route activate, transition to page 2. thus, after the transition, the shown page should be page 2.
In Ember rc7, this no longer works. See JSFiddle of same codde on http://jsfiddle.net/cyclomarc/p3yVP/1/
App.I18redirectRoute = Ember.Route.extend({
activate: function () {
alert("Arrived in i18Redirect route > Do transition to page 2")
this.transitionTo('page2');
}
});
The console log indicates "transitioned into page2', but the URL and the view show a blank page. It looks like the page 2 content is not rendered in the outlet (in my sample, the outlet has a red border).
Is this a regression ?