-
Notifications
You must be signed in to change notification settings - Fork 643
Fix "pushObjects is not a function" error #1100
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
Conversation
this seems necessary only for crates.io/app/controllers/dashboard.js Line 52 in dc195a3
|
@Turbo87 my thought was let's keep it consistent. We could also do |
we could, but then the array observers won't get notified for new items in the array |
Sorry this has taken me so long to look at-- I'm still getting I'm going to see if I can get a test to fail for this... |
even after applying this patch? |
yep, on this branch |
does this branch fix it for you? |
Welp i just tried to make a test with a logged in user for the past few hours and i fail. Pushed my attempt to this branch, feel free to toss it if it's crap. |
4bff66c
to
ef31057
Compare
@carols10cents @locks I finally got around to looking into this and after a while I managed to figure out how to setup everything so that auth works locally too. tl;dr we missed I've fixed the instruction and pushed the fix to this PR. I've also moved your test to a separate |
@carols10cents can you 👍 or merge? |
ef31057
to
77810e2
Compare
Yay it works!!! Thank you!!! bors: r+ |
1100: Fix "pushObjects is not a function" error r=carols10cents This is a bit of a quick patch to address the problem, we should dig some more into why it's happening. Fixes #1099 [edit] I only checked `config/environment.js` for something disabling prototype extensions, and forgot to check `package.json`, which lists [ember-disable-prototype-extensions](https://github.com/rust-lang/crates.io/blob/master/package.json#L49).
Build succeeded |
This is a bit of a quick patch to address the problem, we should dig some more into why it's happening.
Fixes #1099
[edit] I only checked
config/environment.js
for something disabling prototype extensions, and forgot to checkpackage.json
, which lists ember-disable-prototype-extensions.