You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by Phillip Rhodes <mo...@gmail.com> on 2011/07/30 09:58:53 UTC
The labpixies.com TODO list gadget not rendering
Earlier, when playing with the Shindig-3.0.0-SNAPSHOT code, I noticed
that the little sample gadget at
http://www.labpixies.com/campaigns/todo/todo.xml
wasn't rendering on one of the Shindig sample container pages. I
chalked it up to some Shindig3
weirdness, but did check that the Gadget XML was available (it is) and
that I could install the gadget
into my iGoogle page (I could). But now, I've installed the Shindig
2.0.0 release, and notice that that
same gadget still isn't rendering. But I know for sure it did
previously, using 2.0.0. Weird.
Does anybody have any idea what could be causing that? Maybe whoever
owns that gadget changed something
that would have broken it relative to Shindig?
Anyway, just thought I'd check and see if anyone else had noticed this
and had any idea what was up.
Cheers,
Phil
Re: The labpixies.com TODO list gadget not rendering
Posted by Matthew G Marum <mg...@us.ibm.com>.
Yeah, I had found Doug's issue previously where he's called out the root
cause in the gadget handler service.
https://issues.apache.org/jira/browse/SHINDIG-1549
You are right that the spec doesn't define a default view. The metadata
request needs a valid view if you are requesting the ifrmUrl property. We
could look for supported views or at the very least just pick one. What do
people think?
Matt Marum
|------------>
| From: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|Henry Saputra <he...@gmail.com> |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|dev@shindig.apache.org |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|08/01/2011 12:42 PM |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|Re: The labpixies.com TODO list gadget not rendering |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
Yes, I think that is the reason. So Shindig has this support for "default"
view when request to render gadget does not contain information about which
view need to be rendered.
AFAIK the spec does not specify what views should be the default one which
I
think it means should it interpreted by the container.
The "default" view is not really one of the supported view names (
http://opensocial-resources.googlecode.com/svn/spec/2.0/Core-Gadget.xml#gadgets.views.ViewType
).
Maybe we should map "default" view to one the existing supported view such
as HOME.
- Henry
On Mon, Aug 1, 2011 at 7:01 AM, Matthew G Marum <mg...@us.ibm.com> wrote:
> I looked into this recently too as it was brought up by somebody on our
> side that it was no longer rendering properly in Shindig 3.0.0. Seemed
like
> the root cause had to do with the fact that the ToDo gadget didn't have a
> "default" view which was problematic for the sample container. I guess
since
> it is now also broken for 2.0.0 as well, then it MIGHT have previously
had a
> default view but was changed recently by the maintainers.
>
> Matthew G Marum
> Software Engineer | IBM Software Emerging Standards
> mgmarum@us.ibm.com | Office: 1 919 254 9702
>
> [image: Inactive hide details for Phillip Rhodes ---07/30/2011 03:59:48
> AM---Earlier, when playing with the Shindig-3.0.0-SNAPSHOT code]Phillip
> Rhodes ---07/30/2011 03:59:48 AM---Earlier, when playing with the
> Shindig-3.0.0-SNAPSHOT code, I noticed that the little sample gadget
>
>
> From:
> Phillip Rhodes <mo...@gmail.com>
> To:
> dev@shindig.apache.org
> Date:
> 07/30/2011 03:59 AM
> Subject:
> The labpixies.com TODO list gadget not rendering
> ------------------------------
>
>
>
> Earlier, when playing with the Shindig-3.0.0-SNAPSHOT code, I noticed
> that the little sample gadget at
>
> http://www.labpixies.com/campaigns/todo/todo.xml
>
> wasn't rendering on one of the Shindig sample container pages. I
> chalked it up to some Shindig3
> weirdness, but did check that the Gadget XML was available (it is) and
> that I could install the gadget
> into my iGoogle page (I could). But now, I've installed the Shindig
> 2.0.0 release, and notice that that
> same gadget still isn't rendering. But I know for sure it did
> previously, using 2.0.0. Weird.
>
> Does anybody have any idea what could be causing that? Maybe whoever
> owns that gadget changed something
> that would have broken it relative to Shindig?
>
> Anyway, just thought I'd check and see if anyone else had noticed this
> and had any idea what was up.
>
>
> Cheers,
>
> Phil
>
>
>
Re: The labpixies.com TODO list gadget not rendering
Posted by Henry Saputra <he...@gmail.com>.
Yes, I think that is the reason. So Shindig has this support for "default"
view when request to render gadget does not contain information about which
view need to be rendered.
AFAIK the spec does not specify what views should be the default one which I
think it means should it interpreted by the container.
The "default" view is not really one of the supported view names (
http://opensocial-resources.googlecode.com/svn/spec/2.0/Core-Gadget.xml#gadgets.views.ViewType).
Maybe we should map "default" view to one the existing supported view such
as HOME.
- Henry
On Mon, Aug 1, 2011 at 7:01 AM, Matthew G Marum <mg...@us.ibm.com> wrote:
> I looked into this recently too as it was brought up by somebody on our
> side that it was no longer rendering properly in Shindig 3.0.0. Seemed like
> the root cause had to do with the fact that the ToDo gadget didn't have a
> "default" view which was problematic for the sample container. I guess since
> it is now also broken for 2.0.0 as well, then it MIGHT have previously had a
> default view but was changed recently by the maintainers.
>
> Matthew G Marum
> Software Engineer | IBM Software Emerging Standards
> mgmarum@us.ibm.com | Office: 1 919 254 9702
>
> [image: Inactive hide details for Phillip Rhodes ---07/30/2011 03:59:48
> AM---Earlier, when playing with the Shindig-3.0.0-SNAPSHOT code]Phillip
> Rhodes ---07/30/2011 03:59:48 AM---Earlier, when playing with the
> Shindig-3.0.0-SNAPSHOT code, I noticed that the little sample gadget
>
>
> From:
> Phillip Rhodes <mo...@gmail.com>
> To:
> dev@shindig.apache.org
> Date:
> 07/30/2011 03:59 AM
> Subject:
> The labpixies.com TODO list gadget not rendering
> ------------------------------
>
>
>
> Earlier, when playing with the Shindig-3.0.0-SNAPSHOT code, I noticed
> that the little sample gadget at
>
> http://www.labpixies.com/campaigns/todo/todo.xml
>
> wasn't rendering on one of the Shindig sample container pages. I
> chalked it up to some Shindig3
> weirdness, but did check that the Gadget XML was available (it is) and
> that I could install the gadget
> into my iGoogle page (I could). But now, I've installed the Shindig
> 2.0.0 release, and notice that that
> same gadget still isn't rendering. But I know for sure it did
> previously, using 2.0.0. Weird.
>
> Does anybody have any idea what could be causing that? Maybe whoever
> owns that gadget changed something
> that would have broken it relative to Shindig?
>
> Anyway, just thought I'd check and see if anyone else had noticed this
> and had any idea what was up.
>
>
> Cheers,
>
> Phil
>
>
>
Re: The labpixies.com TODO list gadget not rendering
Posted by Matthew G Marum <mg...@us.ibm.com>.
I looked into this recently too as it was brought up by somebody on our
side that it was no longer rendering properly in Shindig 3.0.0. Seemed
like the root cause had to do with the fact that the ToDo gadget didn't
have a "default" view which was problematic for the sample container. I
guess since it is now also broken for 2.0.0 as well, then it MIGHT have
previously had a default view but was changed recently by the maintainers.
Matthew G Marum
Software Engineer | IBM Software Emerging Standards
mgmarum@us.ibm.com | Office: 1 919 254 9702
|------------>
| From: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|Phillip Rhodes <mo...@gmail.com> |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|dev@shindig.apache.org |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|07/30/2011 03:59 AM |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|The labpixies.com TODO list gadget not rendering |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
Earlier, when playing with the Shindig-3.0.0-SNAPSHOT code, I noticed
that the little sample gadget at
http://www.labpixies.com/campaigns/todo/todo.xml
wasn't rendering on one of the Shindig sample container pages. I
chalked it up to some Shindig3
weirdness, but did check that the Gadget XML was available (it is) and
that I could install the gadget
into my iGoogle page (I could). But now, I've installed the Shindig
2.0.0 release, and notice that that
same gadget still isn't rendering. But I know for sure it did
previously, using 2.0.0. Weird.
Does anybody have any idea what could be causing that? Maybe whoever
owns that gadget changed something
that would have broken it relative to Shindig?
Anyway, just thought I'd check and see if anyone else had noticed this
and had any idea what was up.
Cheers,
Phil
Re: The labpixies.com TODO list gadget not rendering
Posted by daviesd <da...@oclc.org>.
Phil,
This possibly might be the same issue I reported
https://issues.apache.org/jira/browse/SHINDIG-1549
The common container doesn¹t render gadgets that don¹t have a default view.
When I try this gadget I get
[{"id":"gadgets.metadata","result":{"http://www.labpixies.com/campaigns/todo
/todo.xml":{"error":{"message":"View default does not exist","code":400}}}}]
Back from the metadata request.
Although now I¹m trying to remember if common container was ever part of the
2.0.0 release and would explain that.
doug
On 7/30/11 3:58 AM, "Phillip Rhodes" <mo...@gmail.com> wrote:
> Earlier, when playing with the Shindig-3.0.0-SNAPSHOT code, I noticed
> that the little sample gadget at
>
> http://www.labpixies.com/campaigns/todo/todo.xml
>
> wasn't rendering on one of the Shindig sample container pages. I
> chalked it up to some Shindig3
> weirdness, but did check that the Gadget XML was available (it is) and
> that I could install the gadget
> into my iGoogle page (I could). But now, I've installed the Shindig
> 2.0.0 release, and notice that that
> same gadget still isn't rendering. But I know for sure it did
> previously, using 2.0.0. Weird.
>
> Does anybody have any idea what could be causing that? Maybe whoever
> owns that gadget changed something
> that would have broken it relative to Shindig?
>
> Anyway, just thought I'd check and see if anyone else had noticed this
> and had any idea what was up.
>
>
> Cheers,
>
> Phil
>
>