-
Notifications
You must be signed in to change notification settings - Fork 13
IE compatibility .query() issue #1
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
Comments
@tomagladiator yep, a jsFiddle would help here. The thing that in this project I'm not doing anything with the BTW: you might want to check the which is a more recent and promise-based version of this one: |
Other question: what is IE version you are using? |
Thanks, So, I changed angularjs-mongolab to angularjs-mongolab-promise. I created a Plunker, but IE don't like it... so I can't test if it works or not... The better thing I can give is the URL of my project : http://constraintsolver.com/lab/16_buffalo/ sorry :/ |
@tomagladiator Could you please send a plunker anyway? It would really help to narrow it down... |
Of course : http://plnkr.co/edit/uh84Zt Thanks again. |
@tomagladiator OK I can see that IE is going mental after simplifying your plunk. At the moment I've got no idea what is going on. Will look into it later today. |
In the http://docs.angularjs.org/guide/ie : I added json3.js but maybe we need to do something else. |
OK, so, re-created a project locally without plunker, routing etc. everything seems to work OK. I've just created a repo with a simple project that actually works OK: https://github.com/pkozlowski-opensource/mongo-ie-ok so the mongo adapter doesn't to be the faulty element here... Unfortunately I don't have much cycles left to help you debug your app and the mongo adapter seems to be working ok so going to close this one. Please reopen if you manage to investigate more and still believe that the issue is in the adapter's code. |
I uploaded mongo-ie-ok here: http://constraintsolver.com/lab/18_test/ Works in Chrome but not in IE, tested with the browser, IETester and an other domain name with an other host... Could you try again with my link and IE? |
Effectively, it doesn't work from your server :-( I'm really not clear what is going on here really. Could you try 2 things:
|
@tomagladiator I think I got it - it looks like IE is using a special object for doing CORS requests:
but AngularJS doesn't support it: so your only hope is to remove the X-Requested-With header or simply switch to AngularJS 1.1.1 In short, my understanding is that all the $http CORS requests will fail on IE :-( |
Nice. |
@tomagladiator so, I think that finally we've managed to narrow down this issue as being linked to AngularJS I'm going to close this one as I don't think that AngularJS will add IE CORS support (for a good reason). Your only option is to proxy calls to the MongoLab on your server and avoid CORS altogether. |
Hello,
I built an app but it doesn't works for IE. :/
And it seems to be about this line in my controller:
$scope.project = Project.query();
Without "query()" IE works but with "query()"... nope.
Do you have an idea? If you want I can create a jsFiddle
thanks
Thomas
The text was updated successfully, but these errors were encountered: