ibm-apiconnect / devportal-addons

Example addon modules and themes for the API Connect Developer Portal
GNU General Public License v2.0
1 stars 2 forks source link

Internet Explorer 11 not displaying due to React 16 upgrade in apiconnect-explorer #8

Closed amargreen closed 4 years ago

amargreen commented 5 years ago

Definitions are not rendered in Internet Explorer. Browser shows an error: Unable to generate example data. The error reported was : '[object ErrorEvent]'

Is this module not supported on Internet Explorer? There are some online references to ReactJS having troubles with IE. Is it the same case with this functionality?

Thanks, amar

chrisdudley commented 5 years ago

What version of IE? Can you post a screenshot? Or the api you used to produce the issue?

We need some info to reproduce the problem please

chrisdudley commented 5 years ago

Oh and what version of explorer please?

amargreen commented 5 years ago

Thanks for the quick response Chris. I am using Internet Explorer 11. Attached is the sample yaml I got it from internet and deployed for verification. telecon-1.0.0.zip

redlanne commented 5 years ago

what version of apiconnect-explorer are you using?

amargreen commented 5 years ago

Pasting information from apiexplorer.info. name = API Explorer description = Use API Explorer to render APIs package = "IBM API Connect" core = 7.x dependencies[] = api

version = 1.0

chrisdudley commented 5 years ago

Thats the module info - we need the version of the npm apiconnect-explorer package you downloaded please

amargreen commented 5 years ago

Is this is the correct path? apiexplorer\explorer\app\version.json: { "version" : { "name": "apiconnect-explorer", "buildDate": "Mon Apr 15 2019 19:18:56 GMT+0100 (British Summer Time)", "version": "4.1.64" } }

If this is not the correct path, please guide me where to find the information. Also please note that I am trying this in APIConnect 5.0.8.3

redlanne commented 5 years ago

that version is very old (latest version is 4.1.105)

I cannot reproduce with latest version - please upgrade and if you are still seeing the error then reopen the issue. The browser is likely a red herring as a lot of issues of this nature have since been fixed. (and please attach a screenshot)

amargreen commented 5 years ago

I have installed 4.1.105. I ran into different issue with Internet Explorer now. API page is blank. Chrome and Firefox are working fine though. Please find attached screenshot. APIExplorer_IE

chrisdudley commented 5 years ago

Reopening as this looks like a genuine IE11 issue

redlanne commented 5 years ago

The earlier build was still React 15 and had some generator bugs, which are now fixed. Unfortunately the latest version includes upgrades to React 16, which does genuinely break IE11 - will get the work arounds included and a new explorer published.

amargreen commented 5 years ago

could you suggest an earlier version I can use until issues with latest version are fixed?

redlanne commented 5 years ago

4.1.76 - would be my best guess

chrisdudley commented 4 years ago

Internet Explorer has now been killed off by microsoft so i am closing this.