-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Error proxy set handler returned false for property '"_super"' in 4.7.3 #8202
Comments
IIRC you turned off Prototype extensions. With prototype extensions turned off This error suggests that Incidentally this mutation is why EmberData added a deprecation for calling EmberData's own tests should also have prototype extensions disabled, so it's somewhat confusing that we don't observe this error in our deprecation test here (PromiseManyArray and RecordArrays take the same approach to handling this problem): data/packages/-ember-data/tests/integration/relationships/promise-many-array-test.js Line 18 in 47a71ca
|
Thanks, @runspired I was able to dig into this with your info and discovered that detection logic ED uses which used to happen here seems to have been removed accidentally in emberjs/ember.js#20092 where detecting if something was already an Ember.A was moved and now lives in @ember/-internals/utils/lib/ember-array.ts and appears to require registering each object. |
The really strange part is that |
Turning Array prototype extensions back on has temporarily solved this for us so I'm confident that it is the clobbering of the record by |
the upstream issue in Ember I suspect breaks tons of things regardless of prototype extension status https://discord.com/channels/480462759797063690/486549196837486592/1044738168827674714 |
Reproduction
I'm not sure this is testing the same thing, but it fails in the same way and its the closest I can get to a reproduction, I wasn't able to make this fail in the same way in a brand new app:
Description
I'm seeing an error
proxy set handler returned false for property '"_super"'
in ED 4.7.3 which seems to be caused by wrapping the result ofstore.query('foo')
in aEmber.A
which happens, for us, in the includes helper fromember-composable-helpers
Versions
The text was updated successfully, but these errors were encountered: