sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

SharePoint Framework code not working in Internet Explorer

Open mvdschaaks opened this issue 7 years ago • 4 comments

Category

  • [ ] Question
  • [ ] Typo
  • [X] Bug
  • [ ] Additional article idea

Expected or Desired Behavior

The code is running in the context of an extension. One of the first things that happens is the retrieval of a sharepoint list item value. The code runs fine in Chrome and Edge, but somehow does not run in Internet Explorer 11.

In chrome when using the debugger the following network calls are shown:

GET /sites/Z010/00001/_api/site/rootweb?$select=Url HTTP/1.1 POST /sites/Z010/_api/contextinfo HTTP/1.1 POST /sites/Z010/_api/web/lists/getByTitle('Configuratie')/getitems HTTP/1.1 GET /sites/Z010/00001/_api/site/rootweb?$select=Url HTTP/1.1 POST /sites/Z010/_api/web/lists/getByTitle('Configuratie')/getitems HTTP/1.1

and all is fine

Observed Behavior

However in Internet explorer the browser keeps repeating the following kind of calls without getting any further:

Request URL: https://0-westeurope1-pushp.svc.ms/socket.io/?token=w1-21ca35c1-fc20-4273-8646-83ef9e5fbdee&EIO=3&transport=polling&t=MZ7vdf5&sid=0hrVy9Da0JEyTf9aBUPp

Steps to Reproduce

run extension in chrome/edge/ie. Is a custom component for a customer, maybe I can create a test component performing only list access code to try and simulate this behavior.

mvdschaaks avatar Feb 07 '19 12:02 mvdschaaks

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

msft-github-bot avatar Feb 07 '19 12:02 msft-github-bot

Hi, does your exrenation use pnp.js-core? i'd so, did you install the ie111 shim?

russgove avatar Feb 13 '19 14:02 russgove

Fixed using this package: https://pnp.github.io/pnpjs/documentation/polyfill/

mvdschaaks avatar Feb 22 '19 19:02 mvdschaaks

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues

msft-github-bot avatar Jan 25 '20 06:01 msft-github-bot