-
-
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
Nested #each on iOS8 #5606
Comments
http://emberjs.jsbin.com would be a good place to create a demo for this issue. |
Thanks @stefanpenner does that link work for you? I am new to using jsbin. |
Sometimes you have to click "run" a few times or refresh, not sure why the s3 links don't work sometimes in jsbin. |
Thanks @fivetanley I posted the link instead. Can you confirm that you can replicate the issue on iOS 8? It works fine on other browsers as far as I am aware, including Chrome on iOS 8. |
Update: There seems to be a timing issue with iOS 8 Safari in the way that assets are loaded on SOME devices. I've confirmed this on an iPhone 5, but it works fine on iPhone 5S and 6. Original Comment: I am getting the same error message with Ember 1.6.1 complaining about this line inside Mixin.create(): // Mixin.create()
meta(proto).proto = proto; // this will disable observers on prototype TypeError: Attempted to assign to readonly property. |
@narkeeso Thanks. Have you found a workaround for this issue, or possible fix? My ember app is completely broken with iOS 8 ... |
i'll take a look shortly. (I finally have some free time) |
Thanks @stefanpenner In case it helps this is the closest discussion I have been able to find: https://github.com/Polymer/platform/issues/66 |
Happening in our app too, leaving it unusable. Only on iPhone 5, iOS 8, in Simulator + on a real phone. Pretty rough, I will post back here if I can figure out a workaround. |
ah this is why went and installed Yosemite :P i forgot why ... I believe i have free time this evening to dig in. Sorry for leaving this one hanging. |
Thanks @stefanpenner let me know how it goes and if you need any more info or if I can help in any way. |
@jcohlmeyer hey I'm looking at this now. Unfortunately (unless I'm missing something) the jibs works fine on my iOS 8 Safari. Can you double check your having issues still? Maybe also share further device info if possible |
After reading i hear it might be a device specific problem. For note: devices I have:
going to try the simulators after dinner
|
Does not work on iOS 8 on iPhone 5c |
Normal iPhone 5, iOS 8 it does not work. Both Simulator + the real live phone. If you choose the iPhone 6 simulator it works, but iPhone 5 simulator no go, even though they are both iOS 8 (12A365) |
@chrisvariety awesome, both my 4s and the simulator you pointed out work. Digging in now. |
Broken in iOS 8 on 4s / 5 Errors in backburner somewhere in this method: https://github.com/ebryn/backburner.js/blob/master/lib/backburner.js#L51-L78 TypeError: Attempted to assign to readonly property. |
@gdub22 unfortunately that error is misleading. I have tracked it further and to ember.js/packages/ember-metal/lib/utils.js Line 309 in aa2636b
|
now I'm going to try and dig up some inspiration/ideas for further exploration. |
I'm running ember 1.7 and our error tracking is pointing to:
TypeError Attempted to assign to readonly property.
|
@johanneswuerbach i suspect this is not a coincidence. |
@johanneswuerbach which device are you on? |
Our error tracking just recorded a lot of errors from:
Isn't this the iOS 8 GM? Update: GM and final are the same build. |
Similar issues https://github.com/Polymer/platform/issues/66 -- same error, but this one is solved |
@johanneswuerbach it appears to be a device specific issue. |
@chrisvariety at first glance those are all related to DOM elements, as far as i can tell this property is configurable + writable and not a DOM object. (correct me if i am wrong) |
@johanneswuerbach that line you pointed out, the error is actually within that function call. Unsure why safari reports it this way... |
For even more confusion... Ember 1.6.1 works on our production environment but not in our development environment. Our theory is that there's something wrong/different with iOS 8 webkit asset loading. |
@stefanpenner After realising that the bug affects iPhone < 6 users I've rolled back ember and ember-data to their latest beta releases and re-deployed. The ember/ember-data canary version which is still displaying the bug can now be loaded at https://bluebook.io/?version=canary Many thanks for taking the time to look into this issue. |
@cjroebuck are you sure its actually |
i have confirmed this is crashing a |
looks like we are blowing up around: https://github.com/emberjs/ember.js/blob/master/packages/ember-routing-htmlbars/lib/helpers/render.js#L165-L171 |
this appears to be the same issue, but different manifestation. As such are previous reduction doesn't replicate. I need to run to lunch, will continue the investigation later. If someone can help me reduce the problem more, that would be great. |
@stefanpenner some of our users complained that the app does not work with iphone 5s and ipad running iOS 8.1.2 (white screen). Unfortunately, we have no means to debug the issue but it looks similar to this one. We use Ember 1.8.1 though... |
@OrKoN hmm, seems likely... This bug is rough, silly apple. |
ugh, will fix the damned build :( |
@stefanpenner - After review of the
The modules containing The build system seems to be operating as intended.... |
the builds in my app, and this app do contain 'use strict', when we don't expect it. file with annotation to drop |
@stefanpenner - Yes, you are correct. Something funky is going on. I'm on it.... |
@cjroebuck thanks for bringing this to our attention. @rwjblue we should see if we can find someone to own/champion a more rigorous cross platform testing experience. Insure if this would have caught it. I know, we are getting many of the apps at work up to canary, to help catch these issues. I'll make sure an armv7 device is included in those runs. |
I'd love to have this in general, but in this case Apple needs to fix their stupid JIT. The issue has been outstanding for quite a while, with no movement on their side. 😡 |
Submitted #10604 to fix the latest round of issues... |
should be fixed again on master. |
Can this be tested via travis, or does anyone do CI for mobile devices? |
this needs to be tested on a armv7 device (or simulator) we have wanted saucelabs style testing for some time, just lack a champion to move it forward. |
looks like a proposed fix to JSC has landed: https://bugs.webkit.org/show_bug.cgi?id=138038 |
looks like the fix was accepted: http://trac.webkit.org/changeset/184960 we may see it in a seed late june/july |
@stefanpenner Great to hear and thanks for all your work on this! |
Is there a current fix for this issue (I'm using Ember 2.4.3 and seeing this pop up with Mobile Safari iOS 8.2) or do we just recommend that users upgrade their OS? |
Nested #each loops in handlebars do not render in Safari in iOS 8. Cause white screen of death and nothing renders. Returns error in console: TypeError: Attempted to assign to readonly property.
Tried with Ember 1.7.0 and 1.8 beta
Example:
http://emberjs.jsbin.com/vecuz/1/
The text was updated successfully, but these errors were encountered: