You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Adam Winer (JIRA)" <ji...@apache.org> on 2008/10/21 01:30:44 UTC

[jira] Created: (SHINDIG-659) requestCreateActivity() errors out if not passed a callback

requestCreateActivity() errors out if not passed a callback
-----------------------------------------------------------

                 Key: SHINDIG-659
                 URL: https://issues.apache.org/jira/browse/SHINDIG-659
             Project: Shindig
          Issue Type: Bug
          Components: Features (Javascript)
            Reporter: Adam Winer


Run the following test:
<?xml version="1.0" encoding="UTF-8"?>
<Module>
  <ModulePrefs>
    <Require feature="opensocial-0.8" />
  </ModulePrefs>
  <Content type="html">
    <![CDATA[
      <script type="text/javascript">
        function executeTest() {
          var activity = opensocial.newActivity({title: "Hi there"});
          opensocial.requestCreateActivity(activity);
        }

        gadgets.util.registerOnLoadHandler(executeTest);
      </script>
    ]]>
  </Content>
</Module>

It fails with "A is not a function".

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


[jira] Resolved: (SHINDIG-659) requestCreateActivity() errors out if not passed a callback

Posted by "Paul Lindner (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHINDIG-659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Lindner resolved SHINDIG-659.
----------------------------------

    Resolution: Fixed

Louis got this one..

> requestCreateActivity() errors out if not passed a callback
> -----------------------------------------------------------
>
>                 Key: SHINDIG-659
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-659
>             Project: Shindig
>          Issue Type: Bug
>          Components: Features (Javascript)
>            Reporter: Adam Winer
>         Attachments: shindig-659.patch
>
>   Original Estimate: 0.25h
>  Remaining Estimate: 0.25h
>
> Run the following test:
> <?xml version="1.0" encoding="UTF-8"?>
> <Module>
>   <ModulePrefs>
>     <Require feature="opensocial-0.8" />
>   </ModulePrefs>
>   <Content type="html">
>     <![CDATA[
>       <script type="text/javascript">
>         function executeTest() {
>           var activity = opensocial.newActivity({title: "Hi there"});
>           opensocial.requestCreateActivity(activity);
>         }
>         gadgets.util.registerOnLoadHandler(executeTest);
>       </script>
>     ]]>
>   </Content>
> </Module>
> It fails with "A is not a function".

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


[jira] Updated: (SHINDIG-659) requestCreateActivity() errors out if not passed a callback

Posted by "Adam Winer (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHINDIG-659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam Winer updated SHINDIG-659:
-------------------------------

    Attachment: shindig-659.patch

Attached patch.

> requestCreateActivity() errors out if not passed a callback
> -----------------------------------------------------------
>
>                 Key: SHINDIG-659
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-659
>             Project: Shindig
>          Issue Type: Bug
>          Components: Features (Javascript)
>            Reporter: Adam Winer
>         Attachments: shindig-659.patch
>
>   Original Estimate: 0.25h
>  Remaining Estimate: 0.25h
>
> Run the following test:
> <?xml version="1.0" encoding="UTF-8"?>
> <Module>
>   <ModulePrefs>
>     <Require feature="opensocial-0.8" />
>   </ModulePrefs>
>   <Content type="html">
>     <![CDATA[
>       <script type="text/javascript">
>         function executeTest() {
>           var activity = opensocial.newActivity({title: "Hi there"});
>           opensocial.requestCreateActivity(activity);
>         }
>         gadgets.util.registerOnLoadHandler(executeTest);
>       </script>
>     ]]>
>   </Content>
> </Module>
> It fails with "A is not a function".

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