Return-Path: X-Original-To: apmail-shindig-issues-archive@www.apache.org Delivered-To: apmail-shindig-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F16369D29 for ; Mon, 26 Mar 2012 18:36:51 +0000 (UTC) Received: (qmail 68389 invoked by uid 500); 26 Mar 2012 18:36:51 -0000 Delivered-To: apmail-shindig-issues-archive@shindig.apache.org Received: (qmail 68302 invoked by uid 500); 26 Mar 2012 18:36:51 -0000 Mailing-List: contact issues-help@shindig.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@shindig.apache.org Delivered-To: mailing list issues@shindig.apache.org Received: (qmail 68081 invoked by uid 99); 26 Mar 2012 18:36:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Mar 2012 18:36:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Mar 2012 18:36:50 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id EFF0934788A for ; Mon, 26 Mar 2012 18:36:29 +0000 (UTC) Date: Mon, 26 Mar 2012 18:36:29 +0000 (UTC) From: "Henry Saputra (Commented) (JIRA)" To: issues@shindig.apache.org Message-ID: <441834015.18662.1332786990007.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <606628129.23846.1330368047261.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (SHINDIG-1715) osapi calls not executed when using registerOnLoadHandler MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SHINDIG-1715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13238656#comment-13238656 ] Henry Saputra commented on SHINDIG-1715: ---------------------------------------- We actually would love you to try the new common container feature. You can try it from: http://localhost:8080/samplecontainer/examples/commoncontainer/ The old container has not been modified for a while and due for deprecation. > osapi calls not executed when using registerOnLoadHandler > --------------------------------------------------------- > > Key: SHINDIG-1715 > URL: https://issues.apache.org/jira/browse/SHINDIG-1715 > Project: Shindig > Issue Type: Bug > Components: Javascript > Affects Versions: 3.0.0 > Reporter: Max Jonas Werner > > I'm running the latest Shindig version from SVN trunk and every gadget that uses registerOnLoadHandler() for initialization runs into the same issue. Given the following JS code in the gadget the function cb(user) is never called. As can be seen with Firebug actually the osapi.people.get() call is actually never executed: > > Steps to reproduce: > 1. Get Shindig from trunk > 2. Compile with "mvn clean install" > 3. Run jetty with "mvn -Prun" > 4. Navigate to http://localhost:8080/samplecontainer/samplecontainer.html > 5. Set the displaying gadget to "http://localhost:8080/samplecontainer/examples/SocialHelloWorld.xml" > 6. Click "reset all" > After step 6 I expect to see the rendered list of friends but I don't see anything being rendered inside the gadget except for the "Say hello" button. Pressing it doesn't seem to trigger any API call or sth. -- 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