[ 
http://jira.amdatu.org/jira/browse/AMDATU-160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Koos Gadellaa reopened AMDATU-160:
----------------------------------


When I load these gadgets in a new amdatu trunk checkout, I don't notice any 
difference, i.e. the problem still seems to occur. Maybe it's me.
Expected behaviour should be that I can push 'publish' and not needing to 
subscribe; the gadgets register themselves in the onload:
 From the testsubsribergadget.xml:

                // Register an onLoad handler
                gadgets.util.registerOnLoadHandler( function() {
                  try {
                        
                    // Connect to the ManagedHub, should be up
                    console.log(JSON.stringify(gadgets.Hub));
                    gadgets.Hub.connect(gadgets.HubSettings.onConnect); 
                        subscribe();
                  } catch(e) {
                    console.log(JSON.stringify(e));
                  }


> While loading a gadget, the pubsub2router (Shindig 2.0) is not initialized
> --------------------------------------------------------------------------
>
>                 Key: AMDATU-160
>                 URL: http://jira.amdatu.org/jira/browse/AMDATU-160
>             Project: Amdatu
>          Issue Type: Bug
>          Components: Amdatu OpenSocial
>    Affects Versions: 0.0.6
>            Reporter: Naftali van der Loon
>            Assignee: Ivo Ladage - van Doorn
>            Priority: Critical
>             Fix For: 0.1.0
>
>         Attachments: AMDATU-160.patch, pubsub2gadgets.zip
>
>
> While loading a gadget, the pubsub2router (Shindig 2.0) is not initialized, 
> therefore a gadget cannot subscribe to the pubsub2router.

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

        

Reply via email to