You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Ciancetta, Jesse E." <jc...@mitre.org> on 2011/12/23 14:34:01 UTC

RE: [jira] [Commented] (SHINDIG-1549) gadgets.metadata request fails for gadgets that don't have a "default" view

Hmm...  Looks like I don’t have the proper role in Shindig JIRA to be able to resolve tickets I didn’t submit.

Could someone with administrative privileges over the Shindig JIRA project please grant me the needed privileges?

Thanks!

--Jesse

>-----Original Message-----
>From: Jesse Ciancetta (Commented) (JIRA) [mailto:jira@apache.org]
>Sent: Friday, December 23, 2011 8:31 AM
>To: issues@shindig.apache.org
>Subject: [jira] [Commented] (SHINDIG-1549) gadgets.metadata request fails
>for gadgets that don't have a "default" view
>
>
>    [ https://issues.apache.org/jira/browse/SHINDIG-
>1549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-
>tabpanel&focusedCommentId=13175419#comment-13175419 ]
>
>Jesse Ciancetta commented on SHINDIG-1549:
>------------------------------------------
>
>This appears to have been fixed -- I just tried the wikipedia gadget with
>common container running from trunk and it rendered fine (and I verified that
>there is still no "default" view) so I'm going to go ahead and mark this as fixed.
>Doug -- if you're still having issues with this please re-open.
>
>> gadgets.metadata request fails for gadgets that don't have a "default" view
>> ---------------------------------------------------------------------------
>>
>>                 Key: SHINDIG-1549
>>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1549
>>             Project: Shindig
>>          Issue Type: Bug
>>          Components: Java
>>    Affects Versions: 3.0.0
>>         Environment: Mac OSX
>>            Reporter: Doug Davies
>>
>> The request for gadgets.metadata fails for a gadget spec that doesn't
>specify a "default" view.  For example
>http://www.google.com/ig/modules/wikipedia.xml.  The reason is in
>GadgetsHandlerService.java.
>>     if (needIfrUrl && gadget.getCurrentView() == null) {
>>       throw new ProcessingException("View " + request.getView() + " does
>not exist",
>>           HttpResponse.SC_BAD_REQUEST);
>>     }
>> The gadget.getCurrentView returns null if no "default" view is defined.
>> You can see this behavior by testing in the commoncontainer sample and
>trying to load the wikipedia gadget.
>
>--
>This message is automatically generated by JIRA.
>If you think it was sent incorrectly, please contact your JIRA administrators:
>https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
>For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>