You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shindig.apache.org by "Albert Wells (JIRA)" <ji...@apache.org> on 2010/11/19 23:28:16 UTC

[jira] Created: (SHINDIG-1473) gadgets.rpc calls from gadget to don't work when the transport is postMessage

gadgets.rpc calls from gadget to don't work when the transport is postMessage
-----------------------------------------------------------------------------

                 Key: SHINDIG-1473
                 URL: https://issues.apache.org/jira/browse/SHINDIG-1473
             Project: Shindig
          Issue Type: Bug
          Components: Javascript 
    Affects Versions: 1.0.1
         Environment: Any browser where the window.postMessage transport is used
            Reporter: Albert Wells


Gadget-to-gadget communication doesn't work because of a bug in line 836 of /features/src/main/javascript/features/rpc/rpc.js:

var targetWin = targetId === '..' ? parent : frames[targetId];

It should be "parent.frames[targetId]" instead.

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


Re: [jira] Created: (SHINDIG-1473) gadgets.rpc calls from gadget to don't work when the transport is postMessage

Posted by John Hjelmstad <fa...@google.com>.
I'm assuming you're referring to gadget-to-gadget communication. I believe
this is fixed in the current rpc.js?

http://svn.apache.org/repos/asf/shindig/trunk/features/src/main/javascript/features/rpc/rpc.js



--j

On Fri, Nov 19, 2010 at 2:28 PM, Albert Wells (JIRA) <ji...@apache.org>wrote:

> gadgets.rpc calls from gadget to don't work when the transport is
> postMessage
>
> -----------------------------------------------------------------------------
>
>                 Key: SHINDIG-1473
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1473
>             Project: Shindig
>          Issue Type: Bug
>          Components: Javascript
>    Affects Versions: 1.0.1
>         Environment: Any browser where the window.postMessage transport is
> used
>            Reporter: Albert Wells
>
>
> Gadget-to-gadget communication doesn't work because of a bug in line 836 of
> /features/src/main/javascript/features/rpc/rpc.js:
>
> var targetWin = targetId === '..' ? parent : frames[targetId];
>
> It should be "parent.frames[targetId]" instead.
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>

Re: [jira] Created: (SHINDIG-1473) gadgets.rpc calls from gadget to don't work when the transport is postMessage

Posted by John Hjelmstad <fa...@google.com>.
I'm assuming you're referring to gadget-to-gadget communication. I believe
this is fixed in the current rpc.js?

http://svn.apache.org/repos/asf/shindig/trunk/features/src/main/javascript/features/rpc/rpc.js



--j

On Fri, Nov 19, 2010 at 2:28 PM, Albert Wells (JIRA) <ji...@apache.org>wrote:

> gadgets.rpc calls from gadget to don't work when the transport is
> postMessage
>
> -----------------------------------------------------------------------------
>
>                 Key: SHINDIG-1473
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1473
>             Project: Shindig
>          Issue Type: Bug
>          Components: Javascript
>    Affects Versions: 1.0.1
>         Environment: Any browser where the window.postMessage transport is
> used
>            Reporter: Albert Wells
>
>
> Gadget-to-gadget communication doesn't work because of a bug in line 836 of
> /features/src/main/javascript/features/rpc/rpc.js:
>
> var targetWin = targetId === '..' ? parent : frames[targetId];
>
> It should be "parent.frames[targetId]" instead.
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>

[jira] Commented: (SHINDIG-1473) gadgets.rpc calls from gadget to don't work when the transport is postMessage

Posted by "John Hjelmstad (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SHINDIG-1473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12934055#action_12934055 ] 

John Hjelmstad commented on SHINDIG-1473:
-----------------------------------------

I'm assuming you're referring to gadget-to-gadget communication. I believe
this is fixed in the current rpc.js?

http://svn.apache.org/repos/asf/shindig/trunk/features/src/main/javascript/features/rpc/rpc.js



--j




> gadgets.rpc calls from gadget to don't work when the transport is postMessage
> -----------------------------------------------------------------------------
>
>                 Key: SHINDIG-1473
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1473
>             Project: Shindig
>          Issue Type: Bug
>          Components: Javascript 
>    Affects Versions: 1.0.1
>         Environment: Any browser where the window.postMessage transport is used
>            Reporter: Albert Wells
>
> Gadget-to-gadget communication doesn't work because of a bug in line 836 of /features/src/main/javascript/features/rpc/rpc.js:
> var targetWin = targetId === '..' ? parent : frames[targetId];
> It should be "parent.frames[targetId]" instead.

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


[jira] [Resolved] (SHINDIG-1473) gadgets.rpc calls from gadget to don't work when the transport is postMessage

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

Paul Lindner resolved SHINDIG-1473.
-----------------------------------

    Resolution: Fixed

marking resolved -- please reopen if still a problem.


> gadgets.rpc calls from gadget to don't work when the transport is postMessage
> -----------------------------------------------------------------------------
>
>                 Key: SHINDIG-1473
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1473
>             Project: Shindig
>          Issue Type: Bug
>          Components: Javascript 
>    Affects Versions: 1.0.1
>         Environment: Any browser where the window.postMessage transport is used
>            Reporter: Albert Wells
>
> Gadget-to-gadget communication doesn't work because of a bug in line 836 of /features/src/main/javascript/features/rpc/rpc.js:
> var targetWin = targetId === '..' ? parent : frames[targetId];
> It should be "parent.frames[targetId]" instead.

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