You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rave.apache.org by "Chris Geer (JIRA)" <ji...@apache.org> on 2012/05/11 03:25:47 UTC

[jira] [Created] (RAVE-618) Conflict between two features: open-views and pubsub-2

Chris Geer created RAVE-618:
-------------------------------

             Summary: Conflict between two features: open-views and pubsub-2
                 Key: RAVE-618
                 URL: https://issues.apache.org/jira/browse/RAVE-618
             Project: Rave
          Issue Type: Bug
    Affects Versions: 0.12
            Reporter: Chris Geer
            Priority: Blocker


There seems to be some sort of conflict between the open-views feature and the pubsub-2 feature. If a gadget uses both features, you are unable to send view_params to your popup windows. Very rarely it will succeed which leads me to believe it's some sort of race condition somewhere.

To reproduce this problem edit the open_views_demo.xml and simply add the <Require feature="pubsub-2"/> tag to the ModulePrefs. Sometimes I had to refresh my browser more than once for the new gadget definition to load if I manually copied the file to the running server (or restart the server).

This is a major blocker for us right now.

--
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

        

RE: [jira] [Created] (RAVE-618) Conflict between two features: open-views and pubsub-2

Posted by "Noe-Payne, Erin A." <er...@mitre.org>.
Hey Chris,

I did see your ticket this morning. I'm definitely interested - I'll try to take a look in the next couple days.

Erin

>-----Original Message-----
>From: Chris Geer [mailto:chris@cxtsoftware.com]
>Sent: Friday, May 11, 2012 11:02 AM
>To: dev@rave.apache.org
>Subject: Re: [jira] [Created] (RAVE-618) Conflict between two features: open-
>views and pubsub-2
>
>I've been trying to figure this one out but I'm stumped. It might possibly
>have to do something to do with the fact that the pubsub-2 feature has a on
>load handler that could be conflicting with something but I can't prove it.
>I think this one is our of my expertise so it will need some brain power
>from someone else.
>
>Chris
>
>On Thu, May 10, 2012 at 6:25 PM, Chris Geer (JIRA) <ji...@apache.org> wrote:
>
>> Chris Geer created RAVE-618:
>> -------------------------------
>>
>>             Summary: Conflict between two features: open-views and pubsub-2
>>                 Key: RAVE-618
>>                 URL: https://issues.apache.org/jira/browse/RAVE-618
>>             Project: Rave
>>          Issue Type: Bug
>>    Affects Versions: 0.12
>>            Reporter: Chris Geer
>>            Priority: Blocker
>>
>>
>> There seems to be some sort of conflict between the open-views feature
>and
>> the pubsub-2 feature. If a gadget uses both features, you are unable to
>> send view_params to your popup windows. Very rarely it will succeed which
>> leads me to believe it's some sort of race condition somewhere.
>>
>> To reproduce this problem edit the open_views_demo.xml and simply add
>the
>> <Require feature="pubsub-2"/> tag to the ModulePrefs. Sometimes I had
>to
>> refresh my browser more than once for the new gadget definition to load if
>> I manually copied the file to the running server (or restart the server).
>>
>> This is a major blocker for us right now.
>>
>> --
>> 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
>>
>>
>>

Re: [jira] [Created] (RAVE-618) Conflict between two features: open-views and pubsub-2

Posted by Chris Geer <ch...@cxtsoftware.com>.
I've been trying to figure this one out but I'm stumped. It might possibly
have to do something to do with the fact that the pubsub-2 feature has a on
load handler that could be conflicting with something but I can't prove it.
I think this one is our of my expertise so it will need some brain power
from someone else.

Chris

On Thu, May 10, 2012 at 6:25 PM, Chris Geer (JIRA) <ji...@apache.org> wrote:

> Chris Geer created RAVE-618:
> -------------------------------
>
>             Summary: Conflict between two features: open-views and pubsub-2
>                 Key: RAVE-618
>                 URL: https://issues.apache.org/jira/browse/RAVE-618
>             Project: Rave
>          Issue Type: Bug
>    Affects Versions: 0.12
>            Reporter: Chris Geer
>            Priority: Blocker
>
>
> There seems to be some sort of conflict between the open-views feature and
> the pubsub-2 feature. If a gadget uses both features, you are unable to
> send view_params to your popup windows. Very rarely it will succeed which
> leads me to believe it's some sort of race condition somewhere.
>
> To reproduce this problem edit the open_views_demo.xml and simply add the
> <Require feature="pubsub-2"/> tag to the ModulePrefs. Sometimes I had to
> refresh my browser more than once for the new gadget definition to load if
> I manually copied the file to the running server (or restart the server).
>
> This is a major blocker for us right now.
>
> --
> 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
>
>
>

[jira] [Updated] (RAVE-618) Conflict between two features: open-views and pubsub-2

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

Chris Geer updated RAVE-618:
----------------------------

    Attachment: open_views_demo.xml

Erin, all I did was add the pubsub-2 feature to the existing open-views demo gadget. See attached.
                
> Conflict between two features: open-views and pubsub-2
> ------------------------------------------------------
>
>                 Key: RAVE-618
>                 URL: https://issues.apache.org/jira/browse/RAVE-618
>             Project: Rave
>          Issue Type: Bug
>    Affects Versions: 0.12
>            Reporter: Chris Geer
>            Priority: Blocker
>         Attachments: open_views_demo.xml
>
>
> There seems to be some sort of conflict between the open-views feature and the pubsub-2 feature. If a gadget uses both features, you are unable to send view_params to your popup windows. Very rarely it will succeed which leads me to believe it's some sort of race condition somewhere.
> To reproduce this problem edit the open_views_demo.xml and simply add the <Require feature="pubsub-2"/> tag to the ModulePrefs. Sometimes I had to refresh my browser more than once for the new gadget definition to load if I manually copied the file to the running server (or restart the server).
> This is a major blocker for us right now.

--
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

        

[jira] [Assigned] (RAVE-618) Conflict between two features: open-views and pubsub-2

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

Jasha Joachimsthal reassigned RAVE-618:
---------------------------------------

    Assignee: Chris Geer
    
> Conflict between two features: open-views and pubsub-2
> ------------------------------------------------------
>
>                 Key: RAVE-618
>                 URL: https://issues.apache.org/jira/browse/RAVE-618
>             Project: Rave
>          Issue Type: Bug
>    Affects Versions: 0.12
>            Reporter: Chris Geer
>            Assignee: Chris Geer
>            Priority: Blocker
>         Attachments: open_views_demo.xml
>
>
> There seems to be some sort of conflict between the open-views feature and the pubsub-2 feature. If a gadget uses both features, you are unable to send view_params to your popup windows. Very rarely it will succeed which leads me to believe it's some sort of race condition somewhere.
> To reproduce this problem edit the open_views_demo.xml and simply add the <Require feature="pubsub-2"/> tag to the ModulePrefs. Sometimes I had to refresh my browser more than once for the new gadget definition to load if I manually copied the file to the running server (or restart the server).
> This is a major blocker for us right now.

--
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

        

[jira] [Commented] (RAVE-618) Conflict between two features: open-views and pubsub-2

Posted by "Jasha Joachimsthal (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/RAVE-618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13404186#comment-13404186 ] 

Jasha Joachimsthal commented on RAVE-618:
-----------------------------------------

Chris, is this still blocking?
                
> Conflict between two features: open-views and pubsub-2
> ------------------------------------------------------
>
>                 Key: RAVE-618
>                 URL: https://issues.apache.org/jira/browse/RAVE-618
>             Project: Rave
>          Issue Type: Bug
>    Affects Versions: 0.12
>            Reporter: Chris Geer
>            Priority: Blocker
>         Attachments: open_views_demo.xml
>
>
> There seems to be some sort of conflict between the open-views feature and the pubsub-2 feature. If a gadget uses both features, you are unable to send view_params to your popup windows. Very rarely it will succeed which leads me to believe it's some sort of race condition somewhere.
> To reproduce this problem edit the open_views_demo.xml and simply add the <Require feature="pubsub-2"/> tag to the ModulePrefs. Sometimes I had to refresh my browser more than once for the new gadget definition to load if I manually copied the file to the running server (or restart the server).
> This is a major blocker for us right now.

--
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

        

[jira] [Resolved] (RAVE-618) Conflict between two features: open-views and pubsub-2

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

Chris Geer resolved RAVE-618.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 0.13

Resolved by shindig-2.5.0-beta2 update
                
> Conflict between two features: open-views and pubsub-2
> ------------------------------------------------------
>
>                 Key: RAVE-618
>                 URL: https://issues.apache.org/jira/browse/RAVE-618
>             Project: Rave
>          Issue Type: Bug
>    Affects Versions: 0.12
>            Reporter: Chris Geer
>            Assignee: Chris Geer
>            Priority: Blocker
>             Fix For: 0.13
>
>         Attachments: open_views_demo.xml
>
>
> There seems to be some sort of conflict between the open-views feature and the pubsub-2 feature. If a gadget uses both features, you are unable to send view_params to your popup windows. Very rarely it will succeed which leads me to believe it's some sort of race condition somewhere.
> To reproduce this problem edit the open_views_demo.xml and simply add the <Require feature="pubsub-2"/> tag to the ModulePrefs. Sometimes I had to refresh my browser more than once for the new gadget definition to load if I manually copied the file to the running server (or restart the server).
> This is a major blocker for us right now.

--
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

        

[jira] [Commented] (RAVE-618) Conflict between two features: open-views and pubsub-2

Posted by "Erin Noe-Payne (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/RAVE-618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13274607#comment-13274607 ] 

Erin Noe-Payne commented on RAVE-618:
-------------------------------------

Hey Chris,

This is a shindig issue. I am working on a patch to submit, I'll link back to this issue once it's up. For a workaround, it looks like pubsub works fine. So what you can do is have your popup fire an event through pubsub once it is loaded, and get any view parameters sent back to it that way.
                
> Conflict between two features: open-views and pubsub-2
> ------------------------------------------------------
>
>                 Key: RAVE-618
>                 URL: https://issues.apache.org/jira/browse/RAVE-618
>             Project: Rave
>          Issue Type: Bug
>    Affects Versions: 0.12
>            Reporter: Chris Geer
>            Priority: Blocker
>         Attachments: open_views_demo.xml
>
>
> There seems to be some sort of conflict between the open-views feature and the pubsub-2 feature. If a gadget uses both features, you are unable to send view_params to your popup windows. Very rarely it will succeed which leads me to believe it's some sort of race condition somewhere.
> To reproduce this problem edit the open_views_demo.xml and simply add the <Require feature="pubsub-2"/> tag to the ModulePrefs. Sometimes I had to refresh my browser more than once for the new gadget definition to load if I manually copied the file to the running server (or restart the server).
> This is a major blocker for us right now.

--
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

        

[jira] [Commented] (RAVE-618) Conflict between two features: open-views and pubsub-2

Posted by "Erin Noe-Payne (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/RAVE-618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13274431#comment-13274431 ] 

Erin Noe-Payne commented on RAVE-618:
-------------------------------------

I don't have a solution for this, but what I've found so far is - 

In the gadgets.views init() function, it grabs the view parameters by doing a json parse on url parameters. 
Without pubsub required, the "view-params" argument looks like view-params: "{"value":"yarrrgh","retVal":""}"
With pubsub required, it looks like: view-params: "{"value":"yarrrgh","retVal":""}#rpctoken=nzZsoU"

I assume this means that pubsub is attaching an rpc token to the open gadget url so that it can register with the hub. However, shindig isn't checking for this hash token when it breaks up the url parameters, and it can't do a json parse on the resulting string.
                
> Conflict between two features: open-views and pubsub-2
> ------------------------------------------------------
>
>                 Key: RAVE-618
>                 URL: https://issues.apache.org/jira/browse/RAVE-618
>             Project: Rave
>          Issue Type: Bug
>    Affects Versions: 0.12
>            Reporter: Chris Geer
>            Priority: Blocker
>         Attachments: open_views_demo.xml
>
>
> There seems to be some sort of conflict between the open-views feature and the pubsub-2 feature. If a gadget uses both features, you are unable to send view_params to your popup windows. Very rarely it will succeed which leads me to believe it's some sort of race condition somewhere.
> To reproduce this problem edit the open_views_demo.xml and simply add the <Require feature="pubsub-2"/> tag to the ModulePrefs. Sometimes I had to refresh my browser more than once for the new gadget definition to load if I manually copied the file to the running server (or restart the server).
> This is a major blocker for us right now.

--
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

        

[jira] [Commented] (RAVE-618) Conflict between two features: open-views and pubsub-2

Posted by "Chris Geer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/RAVE-618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13279558#comment-13279558 ] 

Chris Geer commented on RAVE-618:
---------------------------------

Erin,

I updated my version of Rave to the shindig SNAPSHOT and manually applied the patch you submitted for this issue. It seems to have worked perfectly so once they apply that patch and cut a new release this should be able to be closed.
                
> Conflict between two features: open-views and pubsub-2
> ------------------------------------------------------
>
>                 Key: RAVE-618
>                 URL: https://issues.apache.org/jira/browse/RAVE-618
>             Project: Rave
>          Issue Type: Bug
>    Affects Versions: 0.12
>            Reporter: Chris Geer
>            Priority: Blocker
>         Attachments: open_views_demo.xml
>
>
> There seems to be some sort of conflict between the open-views feature and the pubsub-2 feature. If a gadget uses both features, you are unable to send view_params to your popup windows. Very rarely it will succeed which leads me to believe it's some sort of race condition somewhere.
> To reproduce this problem edit the open_views_demo.xml and simply add the <Require feature="pubsub-2"/> tag to the ModulePrefs. Sometimes I had to refresh my browser more than once for the new gadget definition to load if I manually copied the file to the running server (or restart the server).
> This is a major blocker for us right now.

--
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

        

[jira] [Commented] (RAVE-618) Conflict between two features: open-views and pubsub-2

Posted by "Erin Noe-Payne (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/RAVE-618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13273444#comment-13273444 ] 

Erin Noe-Payne commented on RAVE-618:
-------------------------------------

Chris, can you attach a sample gadget that displays these issues?
                
> Conflict between two features: open-views and pubsub-2
> ------------------------------------------------------
>
>                 Key: RAVE-618
>                 URL: https://issues.apache.org/jira/browse/RAVE-618
>             Project: Rave
>          Issue Type: Bug
>    Affects Versions: 0.12
>            Reporter: Chris Geer
>            Priority: Blocker
>
> There seems to be some sort of conflict between the open-views feature and the pubsub-2 feature. If a gadget uses both features, you are unable to send view_params to your popup windows. Very rarely it will succeed which leads me to believe it's some sort of race condition somewhere.
> To reproduce this problem edit the open_views_demo.xml and simply add the <Require feature="pubsub-2"/> tag to the ModulePrefs. Sometimes I had to refresh my browser more than once for the new gadget definition to load if I manually copied the file to the running server (or restart the server).
> This is a major blocker for us right now.

--
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