yugalatea / gwt-google-apis

Automatically exported from code.google.com/p/gwt-google-apis
0 stars 0 forks source link

AjaxLoader with the Visualization API fails in GWT hosted mode browser #271

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Found in Release:
gwt_visualization 1.0.2
GWT 1.6.4

Detailed description:
For a week or two, the Visualization API does not get called back when
loaded from the Ajax Loader using VisualizationUtils.loadVisualizationApi()

This does not occur in web mode.  Apparently it is a problem related to old
versions of mozilla.  The hosted mode browser is a modified version of
Mozilla 1.7.

Workaround if you have one:
Load the Visualization API in your hosted page as follows:

       google.load('visualization', '1', {'packages':['piechart']});
       google.setOnLoadCallback(drawChart);

I'm not quite sure what to do about tests yet.

Links to the relevant GWT Developer Forum posts:
http://groups.google.com/group/google-visualization-api/browse_thread/thread/c23
870b13c1b0c62
http://groups.google.com/group/google-visualization-api/browse_thread/thread/4dc
5d74c0bd4a50f

Original issue reported on code.google.com by galgwt.reviews@gmail.com on 26 May 2009 at 3:01

GoogleCodeExporter commented 9 years ago
The second thread should be: 

http://groups.google.com/group/google-visualization-api/browse_thread/thread/497
e376eaadb0533

Original comment by galgwt.reviews@gmail.com on 26 May 2009 at 3:04

GoogleCodeExporter commented 9 years ago
Internal ref: 1876308

Original comment by galgwt.reviews@gmail.com on 26 May 2009 at 3:34

GoogleCodeExporter commented 9 years ago
Here is a workaround we cooked up for running tests with the problem:

 http://galgwt-reviews.appspot.com/33605

Original comment by galgwt.reviews@gmail.com on 27 May 2009 at 3:39

GoogleCodeExporter commented 9 years ago

Original comment by galgwt.reviews@gmail.com on 27 May 2009 at 3:39

GoogleCodeExporter commented 9 years ago
A workaround for this problem in running tests was committed as r1486.  The 
problem
with running hosted mode in general still stands.

Original comment by galgwt.reviews@gmail.com on 28 May 2009 at 12:38

GoogleCodeExporter commented 9 years ago
Doh! I was running my unit tests from a Mac!

Original comment by galgwt.reviews@gmail.com on 28 May 2009 at 1:23

GoogleCodeExporter commented 9 years ago
A new push from the visualization team yesterday cleared up this problem.

Original comment by galgwt.reviews@gmail.com on 3 Jun 2009 at 2:45

GoogleCodeExporter commented 9 years ago
Updating account names

Original comment by zundel@google.com on 21 Dec 2009 at 2:00