You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Paul Lindner (JIRA)" <ji...@apache.org> on 2008/03/28 18:56:26 UTC

[jira] Created: (SHINDIG-158) Reloading when postMessage causes RPC errors

Reloading when postMessage causes RPC errors
--------------------------------------------

                 Key: SHINDIG-158
                 URL: https://issues.apache.org/jira/browse/SHINDIG-158
             Project: Shindig
          Issue Type: Bug
          Components: OpenSocial - Javascript
         Environment: Firefox 3.0, Safari 3.1
            Reporter: Paul Lindner


1) View sample container page
2) Before the gadget has rendered press reload (if using Firefox 3.0), For Safari just reload
3) rpc token errors will be observed, and dynamic-height etc will fail.

I added some debugging, here's Safari's output

setting authtoken to '1622832586
http://mirth.inuus.com:8080/gadgets/files/samplecontainer/samplecontainer.html? BEWARE: permissive.js loaded
http://mirth.inuus.com:8080/gadgets/ifr?url=http%3A%2F%2Fmirth.inuus.com%3A8080%2Fgadgets%2Ffiles%2Fsamplecontainer%2Fexamples%2FSocialHelloWorld.xml&synd=default&mid=0&nocache=1&country=ALL&lang=ALL&view=default&parent=http%3A%2F%2Fmirth.inuus.com%3A8080#rpctoken=983258013&st=john.doe:john.doe:samplecontainerapp:shindig Error: Invalid auth token:  '983258013' does not match '1622832586'
http://mirth.inuus.com:8080/gadgets/js/rpc.js?c=1&debug=1 (line 571)



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


[jira] Commented: (SHINDIG-158) Reloading when using postMessage causes RPC errors

Posted by "Kevin Brown (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SHINDIG-158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12583129#action_12583129 ] 

Kevin Brown commented on SHINDIG-158:
-------------------------------------

This is going to need some further investigation. Clearly the error here is that the parent page and child iframe aren't using the same rpc token, but it's not clear to me what's going wrong.

The iframe url clearly indicates that it should be 983258013, but I suspect that's not the current value in the parent page.

This could just be yet another gadgets.js bug -- that wouldn't be surprising to me, that code needs a complete rewrite. If it's something else, though, we may need to rethink how the rpctoken is being passed.

> Reloading when using postMessage causes RPC errors
> --------------------------------------------------
>
>                 Key: SHINDIG-158
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-158
>             Project: Shindig
>          Issue Type: Bug
>          Components: OpenSocial - Javascript
>         Environment: Firefox 3.0, Safari 3.1
>            Reporter: Paul Lindner
>
> 1) View sample container page
> 2) Before the gadget has rendered press reload (if using Firefox 3.0), For Safari just reload
> 3) rpc token errors will be observed, and dynamic-height etc will fail.
> I added some debugging, here's Safari's output
> setting authtoken to '1622832586
> http://mirth.inuus.com:8080/gadgets/files/samplecontainer/samplecontainer.html? BEWARE: permissive.js loaded
> http://mirth.inuus.com:8080/gadgets/ifr?url=http%3A%2F%2Fmirth.inuus.com%3A8080%2Fgadgets%2Ffiles%2Fsamplecontainer%2Fexamples%2FSocialHelloWorld.xml&synd=default&mid=0&nocache=1&country=ALL&lang=ALL&view=default&parent=http%3A%2F%2Fmirth.inuus.com%3A8080#rpctoken=983258013&st=john.doe:john.doe:samplecontainerapp:shindig Error: Invalid auth token:  '983258013' does not match '1622832586'
> http://mirth.inuus.com:8080/gadgets/js/rpc.js?c=1&debug=1 (line 571)

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


[jira] Updated: (SHINDIG-158) Reloading when using postMessage causes RPC errors

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

Paul Lindner updated SHINDIG-158:
---------------------------------

    Summary: Reloading when using postMessage causes RPC errors  (was: Reloading when postMessage causes RPC errors)

> Reloading when using postMessage causes RPC errors
> --------------------------------------------------
>
>                 Key: SHINDIG-158
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-158
>             Project: Shindig
>          Issue Type: Bug
>          Components: OpenSocial - Javascript
>         Environment: Firefox 3.0, Safari 3.1
>            Reporter: Paul Lindner
>
> 1) View sample container page
> 2) Before the gadget has rendered press reload (if using Firefox 3.0), For Safari just reload
> 3) rpc token errors will be observed, and dynamic-height etc will fail.
> I added some debugging, here's Safari's output
> setting authtoken to '1622832586
> http://mirth.inuus.com:8080/gadgets/files/samplecontainer/samplecontainer.html? BEWARE: permissive.js loaded
> http://mirth.inuus.com:8080/gadgets/ifr?url=http%3A%2F%2Fmirth.inuus.com%3A8080%2Fgadgets%2Ffiles%2Fsamplecontainer%2Fexamples%2FSocialHelloWorld.xml&synd=default&mid=0&nocache=1&country=ALL&lang=ALL&view=default&parent=http%3A%2F%2Fmirth.inuus.com%3A8080#rpctoken=983258013&st=john.doe:john.doe:samplecontainerapp:shindig Error: Invalid auth token:  '983258013' does not match '1622832586'
> http://mirth.inuus.com:8080/gadgets/js/rpc.js?c=1&debug=1 (line 571)

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


[jira] Updated: (SHINDIG-158) Reloading when using postMessage causes RPC errors

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

Kevin Brown updated SHINDIG-158:
--------------------------------

    Component/s:     (was: OpenSocial  feature (Javascript))
                 Sample container & Examples

> Reloading when using postMessage causes RPC errors
> --------------------------------------------------
>
>                 Key: SHINDIG-158
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-158
>             Project: Shindig
>          Issue Type: Bug
>          Components: Sample container & Examples
>         Environment: Firefox 3.0, Safari 3.1
>            Reporter: Paul Lindner
>
> 1) View sample container page
> 2) Before the gadget has rendered press reload (if using Firefox 3.0), For Safari just reload
> 3) rpc token errors will be observed, and dynamic-height etc will fail.
> I added some debugging, here's Safari's output
> setting authtoken to '1622832586
> http://mirth.inuus.com:8080/gadgets/files/samplecontainer/samplecontainer.html? BEWARE: permissive.js loaded
> http://mirth.inuus.com:8080/gadgets/ifr?url=http%3A%2F%2Fmirth.inuus.com%3A8080%2Fgadgets%2Ffiles%2Fsamplecontainer%2Fexamples%2FSocialHelloWorld.xml&synd=default&mid=0&nocache=1&country=ALL&lang=ALL&view=default&parent=http%3A%2F%2Fmirth.inuus.com%3A8080#rpctoken=983258013&st=john.doe:john.doe:samplecontainerapp:shindig Error: Invalid auth token:  '983258013' does not match '1622832586'
> http://mirth.inuus.com:8080/gadgets/js/rpc.js?c=1&debug=1 (line 571)

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