BUG report: HttpRequest with two variables make widget return 404

2 views
Skip to first unread message

de...@mailinator.com

unread,
May 11, 2009, 6:29:13 PM5/11/09
to Orkut Developer Forum
how to reproduce:
1. make a url request, e.g. one to Yahoo's query language.
2. add two variables.

<os:HttpRequest key="yql" href="http://query.yahooapis.com/v1/public/
yql?q=select%20*%20from%20search.images%20where%20query%3D%27%5B%22$
{d.content.terms[0]}%22%2C%22${d.content.terms[1]}%22%5D
%27&format=json"/>

2. there's no step 2

Expected behavior:
- a request to YQL with the desired url.
This would happen if i just remove the seccond variable from the url,
as in:
<os:HttpRequest key="yql" href="http://query.yahooapis.com/v1/public/
yql?q=select%20*%20from%20search.images%20where%20query%3D%27%5B%22$
{d.content.terms[0]}%22%5D%27&format=json"/>

Actual behavior:
- the whole widget returns 404.

if i print both vars, they return "red" and "green" sans quotes.

Thank you.
Gabriel

Shishir

unread,
May 12, 2009, 2:42:42 AM5/12/09
to Orkut Developer Forum
This may be a bug in shindig. Could you please file a JIRA issue at
https://issues.apache.org/jira/browse/SHINDIG

Also, FYI, please do not use HttpRequests on profile view. These will
go away sometime soon.

Cheers,
Shishir

Eduardo Rocha

unread,
May 12, 2009, 8:53:16 AM5/12/09
to Orkut Developer Forum
Shishir, what do you mean here?

If I store user data on my server, I would have to save a copy in
appdata to be able to show in the profile view?

Thanks.

On 12 maio, 03:42, Shishir <birmi...@gmail.com> wrote:
> This may be a bug in shindig. Could you please file a JIRA issue athttps://issues.apache.org/jira/browse/SHINDIG

Apurv Gupta

unread,
May 12, 2009, 11:20:00 AM5/12/09
to opensoci...@googlegroups.com
yes. You should make profile view use data from appData.

Badaro

unread,
May 15, 2009, 7:03:26 PM5/15/09
to Orkut Developer Forum
This is a major, breaking change, some of us already have applications
being deployed using HttpRequest. Why wasn't it announced in the blog,
and it's not even in a sticky topic in the forum?

On May 12, 12:20 pm, Apurv Gupta <apurv.gu...@gmail.com> wrote:
> yes. You should make profile view use data from appData.
>

Cristiane dos Santos Bicudo

unread,
May 12, 2009, 9:21:18 AM5/12/09
to opensoci...@googlegroups.com
I would cancel this registration I did. How


Att.
Cristiane
 
 
 


 
> Date: Tue, 12 May 2009 05:53:16 -0700
> Subject: [orkut-developer] Re: BUG report: HttpRequest with two variables make widget return 404
> From: eduardo...@gmail.com
> To: opensoci...@googlegroups.com

de...@mailinator.com

unread,
May 13, 2009, 3:17:32 PM5/13/09
to Orkut Developer Forum
On May 12, 12:20 pm, Apurv Gupta <apurv.gu...@gmail.com> wrote:
> yes. You should make profile view use data from appData.

Then it will stagnate until he uses the canvas view?

what if I want to make a newsreader?

a zodiac sign for the day?

This container is getting more useless every day.

de...@mailinator.com

unread,
May 14, 2009, 11:45:47 PM5/14/09
to Orkut Developer Forum
Do we have an ETA on the time the http requests will go the way of the
dodo?

Also, your suggested option on profileview returns only {}

No data. no error.


On May 12, 12:20 pm, Apurv Gupta <apurv.gu...@gmail.com> wrote:
> yes. You should make profile view use data from appData.
>

gcb

unread,
May 14, 2009, 11:53:31 PM5/14/09
to Orkut Developer Forum
Any estimated date on when exactly the httprequests are going to die?

Also, <os:PersonAppDataRequest> only returns {} on the sandbox's
profile view.

no data. no error. just plain {}.

Gabriel


On May 12, 12:20 pm, Apurv Gupta <apurv.gu...@gmail.com> wrote:
> yes. You should make profile view use data from appData.
>
Reply all
Reply to author
Forward
0 new messages