Re: google.charts.load throw an exception "L’objet ne gère pas la propriété ou la méthode « assign »"

116 views
Skip to first unread message
Message has been deleted

Philippe Debrabant

unread,
Jul 9, 2020, 4:34:14 AM7/9/20
to Google Visualization API
Only IE is affected. Unfortunately, we use IE11 internally in our company. Loading works fine with Firefox and Chrome.

Le jeudi 9 juillet 2020 10:19:10 UTC+2, Philippe Debrabant a écrit :
Hi,

Since today (2020-07-09) our web application can't show any organigram chart.
The "load" method returns "L’objet ne gère pas la propriété ou la méthode « assign »" (in french).

We load google vizualization api from https://www.gstatic.com/charts/loader.js.

Is there any way to load the previous functional version ?

Thanks for your help.

Philippe Debrabant

unread,
Jul 9, 2020, 5:03:09 AM7/9/20
to Google Visualization API
Ok, I found how to load a previous version.

        google.charts.load('48', { 'packages': ['orgchart'] });

I tried with V48 and V47, but the problem remains.

This is the beginning of the exception :

TypeError: Lobjet ne gère pas la propriété ou la méthode « assign »
   at
Ic (https://www.gstatic.com/charts/loader.js:90:18)
   at C
.load (https://www.gstatic.com/charts/loader.js:91:223)
   at initialize
(http://localhost-ni.cm-cic.fr:52270/scripts/Organigram.js:61:9)
   at
Anonymous function (http://localhost-ni.cm-cic.fr:52270/devbooster.aspx?


Philippe Debrabant

unread,
Jul 9, 2020, 9:31:16 AM7/9/20
to Google Visualization API
Resolved with adding the polyfill on "Object" as seen in another thread.

Dan Espich

unread,
Jul 9, 2020, 9:44:06 AM7/9/20
to Google Visualization API
I am also getting this error starting Morning of 7/9/2020.   We USE IE 11 here and this morning charts failing with "Object doesn't support property or method 'assign'" loader.js (90,18)  The page loads charts using 
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
and
  google.charts.load('current', { 'packages': ['corechart'] });

Going to try to call the older versions to see if it helps.

Dan

Dan Espich

unread,
Jul 9, 2020, 9:45:26 AM7/9/20
to Google Visualization API
Where is that thread if you could be so kind?

Dan

Philippe Debrabant

unread,
Jul 9, 2020, 11:44:29 AM7/9/20
to Google Visualization API
In that thread you will find the polyfill code to add to your script : https://groups.google.com/g/google-visualization-api/c/NAljUqtZPeo
Reply all
Reply to author
Forward
0 new messages