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

Henry Saputra resolved SHINDIG-1686.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0.0

Committed revision 1237849.
                
> The gadgets.views.init does not set current view correctly for the view 
> parameter if it contains secondary view 
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: SHINDIG-1686
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1686
>             Project: Shindig
>          Issue Type: Bug
>          Components: Javascript 
>    Affects Versions: 3.0.0
>            Reporter: Henry Saputra
>            Assignee: Henry Saputra
>              Labels: opensocial, shindig, view
>             Fix For: 3.0.0
>
>
> The gadgets.views.init function initializes the current view by checking the 
> "view" URL parameter. However the code does not consider the possibility of 
> the view name to have secondary name separated by "." char.
> The spec: 
> http://opensocial-resources.googlecode.com/svn/spec/2.0/Core-Gadget.xml says 
> that gadgets.views.View function only returns the primary view names, however 
> calling the getCurrentView should return gadgets.views.View object that has 
> gadgets.views.View.name_ set to the full view as defined in the "view" url 
> parameter if the primary part of the view available in the list of 
> gadgets.views.getSupportedViews(). 
> Otherwise  try to return "default" view as before.

--
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

        

Reply via email to