You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rave.apache.org by "Marlon Pierce (JIRA)" <ji...@apache.org> on 2011/06/06 19:45:58 UTC

[jira] [Created] (RAVE-57) wikipedia gadget is not rendering

wikipedia gadget is not rendering
---------------------------------

                 Key: RAVE-57
                 URL: https://issues.apache.org/jira/browse/RAVE-57
             Project: Rave
          Issue Type: Bug
            Reporter: Marlon Pierce




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

[jira] [Assigned] (RAVE-57) wikipedia gadget is not rendering

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

Raminderjeet Singh reassigned RAVE-57:
--------------------------------------

    Assignee: Raminderjeet Singh

> wikipedia gadget is not rendering
> ---------------------------------
>
>                 Key: RAVE-57
>                 URL: https://issues.apache.org/jira/browse/RAVE-57
>             Project: Rave
>          Issue Type: Bug
>            Reporter: Marlon Pierce
>            Assignee: Raminderjeet Singh
>


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

[jira] [Commented] (RAVE-57) wikipedia gadget is not rendering

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

Raminderjeet Singh commented on RAVE-57:
----------------------------------------

I debugged this using Crome > Inspect Element and found that div element is coming empty for this gadget. Comments(thankful for that already) in that file pointed me to look into OpenSocialWidgetRenderer .I checked the String value of render for this gadget and found shindig is not able to render this file because this does not have default view tag. 

<script type="text/javascript">widgets.push({type: 'OpenSocial', regionWidgetId: 6, widgetUrl: 'http://www.google.com/ig/modules/wikipedia.xml',  metadata: [{"id":"gadgets.metadata","result":{"http://www.google.com/ig/modules/wikipedia.xml":{"error":{"message":"View default does not exist","code":400}}}}], userPrefs: {}});</script>

I tried it with ogce-gadget container and it working well there so now debugging it deeper. 

> wikipedia gadget is not rendering
> ---------------------------------
>
>                 Key: RAVE-57
>                 URL: https://issues.apache.org/jira/browse/RAVE-57
>             Project: Rave
>          Issue Type: Bug
>            Reporter: Marlon Pierce
>            Assignee: Raminderjeet Singh
>


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

[jira] [Commented] (RAVE-57) wikipedia gadget is not rendering

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

Raminderjeet Singh commented on RAVE-57:
----------------------------------------

Yes shindig gave error code 400 and message View default does not exist but we are not showing the error in Rave. i am thinking of having a error console on rave page for such errors. What do you think? 

> wikipedia gadget is not rendering
> ---------------------------------
>
>                 Key: RAVE-57
>                 URL: https://issues.apache.org/jira/browse/RAVE-57
>             Project: Rave
>          Issue Type: Bug
>            Reporter: Marlon Pierce
>            Assignee: Raminderjeet Singh
>


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

[jira] [Commented] (RAVE-57) wikipedia gadget is not rendering

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

Matt Franklin commented on RAVE-57:
-----------------------------------

Reporting of unsupported views should probably be done by shindig 

> wikipedia gadget is not rendering
> ---------------------------------
>
>                 Key: RAVE-57
>                 URL: https://issues.apache.org/jira/browse/RAVE-57
>             Project: Rave
>          Issue Type: Bug
>            Reporter: Marlon Pierce
>            Assignee: Raminderjeet Singh
>


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

[jira] [Commented] (RAVE-57) wikipedia gadget is not rendering

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

Matt Franklin commented on RAVE-57:
-----------------------------------

I would think that a simple error message to the user would be the right way to go.  Right now, we are using Shindig common container code for the rendering and I don't think the error is getting thrown out to our code.  It might be best to either investigate what common container is doing with the error and submit a patch to Shindig.

> wikipedia gadget is not rendering
> ---------------------------------
>
>                 Key: RAVE-57
>                 URL: https://issues.apache.org/jira/browse/RAVE-57
>             Project: Rave
>          Issue Type: Bug
>            Reporter: Marlon Pierce
>            Assignee: Raminderjeet Singh
>


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

[jira] [Commented] (RAVE-57) wikipedia gadget is not rendering

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

Raminderjeet Singh commented on RAVE-57:
----------------------------------------

@Matt: OpenSocialWidgetRenderer.render method is giving "error":{"message":"View default does not exist","code":400} inside the return string. As all the Json objects like regionWidgetId are not returned for this gadget so rendering fails in home.jsp. What is the best way to show such error on the Home page? I am exploring jQuery UI to see if i can use something like Overlay and Shadow Classes to show such error to user and then user can close them. Please suggest

> wikipedia gadget is not rendering
> ---------------------------------
>
>                 Key: RAVE-57
>                 URL: https://issues.apache.org/jira/browse/RAVE-57
>             Project: Rave
>          Issue Type: Bug
>            Reporter: Marlon Pierce
>            Assignee: Raminderjeet Singh
>


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

        

[jira] [Updated] (RAVE-57) wikipedia gadget is not rendering

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

Matt Franklin updated RAVE-57:
------------------------------

    Fix Version/s:     (was: 0.2-INCUBATING)
                   0.3-INCUBATING

> wikipedia gadget is not rendering
> ---------------------------------
>
>                 Key: RAVE-57
>                 URL: https://issues.apache.org/jira/browse/RAVE-57
>             Project: Rave
>          Issue Type: Bug
>            Reporter: Marlon Pierce
>            Assignee: Raminderjeet Singh
>             Fix For: 0.3-INCUBATING
>
>


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

        

[jira] [Resolved] (RAVE-57) wikipedia gadget is not rendering

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

Raminderjeet Singh resolved RAVE-57.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.2-INCUBATING

This is fixed and error is coming as Unable to render OpenSocial Gadget:View default does not exist

> wikipedia gadget is not rendering
> ---------------------------------
>
>                 Key: RAVE-57
>                 URL: https://issues.apache.org/jira/browse/RAVE-57
>             Project: Rave
>          Issue Type: Bug
>            Reporter: Marlon Pierce
>            Assignee: Raminderjeet Singh
>             Fix For: 0.2-INCUBATING
>
>


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

        

[jira] [Commented] (RAVE-57) wikipedia gadget is not rendering

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

Raminderjeet Singh commented on RAVE-57:
----------------------------------------

If i changed the <Content type="html" view="home, preview"> to <Content type="html" view="home, default">, its working. i uploaded the updated gadget to http://hosting.gmodules.com/ig/gadgets/file/103345439961795113662/wikipedia.xml. but now i will see how to support preview in Rave and how to report these individual gadget errors to Rave user. 

> wikipedia gadget is not rendering
> ---------------------------------
>
>                 Key: RAVE-57
>                 URL: https://issues.apache.org/jira/browse/RAVE-57
>             Project: Rave
>          Issue Type: Bug
>            Reporter: Marlon Pierce
>            Assignee: Raminderjeet Singh
>


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

[jira] [Commented] (RAVE-57) wikipedia gadget is not rendering

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

Matt Franklin commented on RAVE-57:
-----------------------------------

I am not a UI expert by any means, but I would think just displaying "This gadget could not be displayed due to an error" where the gadget normally would be is sufficient for now.  This can be added to later down the road with a link to e-mail the gadget author, or some other support mechanism.

> wikipedia gadget is not rendering
> ---------------------------------
>
>                 Key: RAVE-57
>                 URL: https://issues.apache.org/jira/browse/RAVE-57
>             Project: Rave
>          Issue Type: Bug
>            Reporter: Marlon Pierce
>            Assignee: Raminderjeet Singh
>


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