Common Container does not utilize view aliases when rendering a gadget
----------------------------------------------------------------------

                 Key: SHINDIG-1596
                 URL: https://issues.apache.org/jira/browse/SHINDIG-1596
             Project: Shindig
          Issue Type: Improvement
          Components: Javascript 
    Affects Versions: 3.0.0
            Reporter: Stanton Sievers
             Fix For: 3.0.0


osapi.container.GadgetSite.prototype.render fails to render a gadget using a 
given view when that gadget does not explicitly define that view, even in the 
case where the container configuration has aliases for that view.

For instance, Gadget A supports the "profile" and "canvas" views only.  The 
container configuration defines the "home" view and provides "profile" as an 
alias for "home".  In the use case where the container tries to render Gadget A 
using the "home" view, gadget render will fail, even though the gadget supports 
"profile" and it has been specified as an alias for "home" in the container 
configuration.

This problem commonly manifests itself in Shindig because of the way "default" 
views are handled.  By default, Shindig will attempt to render the gadget using 
the "default" view.  If the gadget does not support that view, rendering will 
fail.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to