hugoloza / gwt-google-apis

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

GadgetRPC no longer works (fix patch attached) #512

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Found in Release: 1.2.1

Platform information (OS, Browser, GWT version).  Does the issue exist on
other platforms? MacOS X 10.8.2, Chrome 23.0.1271.101, GWT 2.5.0

Give a Detailed description of the problem.  If possible, please include
some code that reproduces the problem and a verbatim copy of any error
messages you can find.

 - Attempts to connect back to proxy and/or original server went to urls beginning 'app://' - now all GWT RPC
   connections go back to the proxy (due to SOP) and then get forwarded to the original server.
 - GadgetRPC needed the annotation @Gadget.InjectModulePrefs to specify the requirement for the rpc and views features.
 - To work in the context of a Hangout, the script hangout.js needed to be retrieved before the GWT launcher script -
   this has been added to the GadgetRPC example using the @Gadget.InjectContent annotation.
 - The Gadget generation process no longer worked with the version of Xerces that was shipped with newer versions of
   Java - this has now been corrected so it is no longer necessary to attempt to bundle an older version of Xerces with
   this library (fix for issue #491).

Workaround if you have one:

Apply attached patch

Links to the relevant Google Group posts:

Original issue reported on code.google.com by jraymon...@gmail.com on 28 Dec 2012 at 7:36

Attachments:

GoogleCodeExporter commented 9 years ago
New code in the patch is licensed under the terms of the Apache Source License 
2.0.

Original comment by jraymon...@gmail.com on 28 Dec 2012 at 7:40