Skip to content
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

Breeze & Datajs not working on Internet Explorer 11 and Edge #163

Open
arheom opened this issue Sep 7, 2016 · 1 comment
Open

Breeze & Datajs not working on Internet Explorer 11 and Edge #163

arheom opened this issue Sep 7, 2016 · 1 comment

Comments

@arheom
Copy link

arheom commented Sep 7, 2016

I am using Breeze latest version configured to use OData adaptor:

breeze.config.initializeAdapterInstance('dataService', "OData", true);
The OData is using the datajs to get data from a web service Odata V3. Everything works well on all browsers, except IE11 and Edge, where we get the error:

"Can't execute code from a freed script"

Using only datajs (OData.read), works well also on IE11 and Edge, but if Breeze uses it, not working anymore. After more research, the error happens here:

breeze.debug.js (15422,18)

return __map(nodes, function (node) {
  if (query == null && node.entityAspect) {
    // don't bother merging a result from a save that was not returned from the server.
    if (node.entityAspect.entityState.isDeleted()) {
      that.entityManager.detachEntity(node);
    } else {
      node.entityAspect.acceptChanges();
    }
    return node;
  }

Looks like the error comes from an httpResponse used in there, but in the network console everything looks OK, on DataJs part everything looks OK, but something happens afterwards.

@steveschmitt
Copy link
Member

I haven't been able to reproduce the problem. Is there anything special about your environment?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants