You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shindig.apache.org by "Paul Lindner (JIRA)" <ji...@apache.org> on 2010/11/09 08:53:22 UTC

[jira] Resolved: (SHINDIG-1300) Issue taming osapi.people.get().execute

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

Paul Lindner resolved SHINDIG-1300.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0.0

marking as closed since the underlying code review is closed.  Reopen if this is not the case.

> Issue taming osapi.people.get().execute
> ---------------------------------------
>
>                 Key: SHINDIG-1300
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1300
>             Project: Shindig
>          Issue Type: Bug
>          Components: Javascript 
>            Reporter: Chirag Shah
>             Fix For: 3.0.0
>
>
> I'm getting the following error when I use osapi.people.get().execute with caja turned on:
> "callMethod: [object Object] has no method execute"
> Here's a sample gadget that exhibits this issue:
> <Module>
>  <ModulePrefs title="test" description="test">
>    <Require feature="osapi"></Require>
>    <Require feature="caja"></Require>
>  </ModulePrefs>
>  <Content type="html" view="default">
>    <![CDATA[
>    <script type="text/javascript">
>      function render(data) {
>       console.log("cb");
>       console.log(data.thumbnailUrl);
>      }
>      osapi.people.get().execute(render);
>    </script>
>   ]]>
>   </Content>
> </Module>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.