Skip to content
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

[BUGFIX release] Ensure that multiple app event dispatching works properly. #11290

Merged
merged 1 commit into from
May 28, 2015

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented May 27, 2015

Fixes #11195.

@rwjblue rwjblue force-pushed the ensure-multiple-apps-work branch from 875f9bb to d6ae292 Compare May 27, 2015 22:52
rwjblue added a commit that referenced this pull request May 28, 2015
[BUGFIX release] Ensure that multiple app event dispatching works properly.
@rwjblue rwjblue merged commit 4d97d61 into emberjs:master May 28, 2015
@rwjblue rwjblue deleted the ensure-multiple-apps-work branch May 28, 2015 00:45
@botandrose
Copy link

Thanks for taking the time to fix this, @rwjblue!

@gnarf
Copy link

gnarf commented Jun 8, 2015

👍 -- I just ran into this bug with 1.12.1 - Any word on when a patch might release?

@rwjblue
Copy link
Member Author

rwjblue commented Jun 8, 2015

You can use the latest build in the release channel now, but a 1.12.2 will likely be released sometime before Friday.

@gnarf
Copy link

gnarf commented Jun 8, 2015

Thanks for the quick response - I can wait until a 1.12.2... I added a Application.ViewRegistry to my application for a temp fix: http://jsbin.com/nohamakoge/1/edit?js,output

@botandrose
Copy link

Hmm, looks like this didn't make it into 1.13.0, either. Will it be in 1.13.1?

rwjblue added a commit to rwjblue/ember-test-helpers that referenced this pull request Jul 30, 2015
In Ember 1.12.0 and 1.12.1 the `-view-registry:main` was introduced as a
mechanism to track views without mutating the global `Ember.View.views`
registry (needed for fastboot work), unfortunately the
`Ember.EventDispatcher` was not updated to use the new view registry and
therefore any views added in a view registry other than
`Ember.View.views` will not be able to handle DOM events. The event
dispatcher was fixed in emberjs/ember.js#11290.

This change ensures that `-view-registry:main` is the same as
`Ember.View.views` on Ember versions where `Ember.View.views` exists
(Ember < 1.13.0).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Multiple apps break view -> controller bindings as of 1.12
3 participants