shindig-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Davies (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SHINDIG-1549) gadgets.metadata request fails for gadgets that don't have a "default" view
Date Fri, 23 Dec 2011 14:52:30 GMT

     [ https://issues.apache.org/jira/browse/SHINDIG-1549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Doug Davies resolved SHINDIG-1549.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0.0

Closing per Jesse's comment. 
                
> 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
>             Fix For: 3.0.0
>
>
> 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

        

Mime
View raw message