The class MakeRequestHandler#fetch pass in an own/anonymous implementation of
HttpGadgetContext. This not take the URL of variable 'url' it takes the
'gadgetURL' which (of course) is 'undefined'.
Snippet from your code:
GadgetContext context = new HttpGadgetContext(request) {
public Uri getUrl() {
return gadgetUri; <----- HERE
}
public boolean getIgnoreCache() {
return getParameter("bypassSpecCache").equals("1");
}
};
Could it be an failure/issue of the shindig code?
----- Ursprüngliche Mail -----
Von: "Support CarbookPlus" <[email protected]>
An: [email protected]
Gesendet: Mittwoch, 1. Februar 2012 10:21:25
Betreff: REQ: Shindig 3.0.0, makeRequest not processed correctly
Hello,
we are trying to integrate the shindig 3.0.0 (-SNAPSHOT). Some basic gadgets
working fine, but if one of our gadgets is calling makeRequest we never get any
result. While debugging the MakeRequestServlet (~ProxyServlet) our call cause
an exception in "Processor#process". The return message is " Url undefined does
not include scheme". We don't know if it depends on a missing "gadget"-URL
parameter (value)?
Can anyone help us?
Thanks