-
-
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
getOwner(this): inconsistent behavior for dev/prod #15507
Comments
Thanks for reporting, good news it should be fixed! duplicate of:
Fixed by:
2.14.1 was deployed just (moments ago) |
:) |
@jamesarosen the issue was a JSC JIT bug, so its hard to tell if your exact scenario was addressed by the work-around. Please give 2.14.1 a go, if it doesn't resolve it, comment here \w reproduction (if possible) and we can reopen. |
We'll be doing that over the next few days I hope :) |
@jamesarosen keep us posted |
I have a factory for typesafe enumerations:
The
container: null
was originally there just to remind consumers that they had to provide one. Before Ember 1.13, when I created one of those things and passed in acontainer
, everything worked fine. On Ember 1.13 in development and test mode, everything continued to work fine and emitted no warnings.But when we hit production, this blew up here because
getOwner(this)
wasundefined
on theArrayProxy
instance. Removingcontainer: null
fixed the problem.It concerns me that Ember's core object classes have differing behavior in dev/test vs prod, especially since there aren't even any warnings for this in dev/test. (I'm not concerned with the change in behavior from 1.12 to 1.13. We were doing something weird. But our dev/test environments should have caught the problem during the upgrade.)
The text was updated successfully, but these errors were encountered: