[ 
https://issues.apache.org/jira/browse/RAVE-379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13182899#comment-13182899
 ] 

Raminderjeet Singh commented on RAVE-379:
-----------------------------------------

org.apache.rave.provider.opensocial.service.impl.OpenSocialWidgetMetadataResolver.getMetadata(String
 url) gives the error when modulePrefs is not coming as 1st element from 
shindig responseString [1]. modulePrefs is there but JSONObject is not able to 
get the value. In Unittest i modified this string response and it started to 
get the value. i will see what i need to fix in this response string to make it 
work. Look at this getMetadata requires set of parameter and if any of them 
have getString value null function gives a error. Need to improve error string 
also.

[1]. shindig metadata raw response: 
[{"id":"gadgets.metadata","result":{"http://css.uni-graz.at/projects/role/recommender/navigationtool.xml":{"userPrefs":{},"needsTokenRefresh":false,"expireTimeMs":1326147684408,"views":{"default":{"preferredHeight":0,"quirks":true,"preferredWidth":0}},"modulePrefs":{"screenshot":"","width":0,"authorLink":"","links":{},"scaling":false,"author":"Alexander
 Nussbaumer (TUG)","title":"Navigation Tool 
Widget","titleUrl":"","height":400,"thumbnail":"","scrolling":false,"features":{"flash":{"name":"flash","params":{},"required":true},"dynamic-height":{"name":"dynamic-height","params":{},"required":true},"core":{"name":"core","params":{},"required":true}},"categories":["",""],"authorPhoto":""},"responseTimeMs":1326147384408,"iframeUrl":"//localhost:8080/gadgets/ifr?url=http%3A%2F%2Fcss.uni-graz.at%2Fprojects%2Frole%2Frecommender%2Fnavigationtool.xml&container=default&view=%25view%25&lang=%25lang%25&country=%25country%25&debug=%25debug%25&nocache=%25nocache%25&sanitize=%25sanitize%25&v=d5cd1db42cb5f7e0a267510c07426da0&st=%25st%25"}}}]
                
> Navigation Tool Widget from Role widgetstore not working
> --------------------------------------------------------
>
>                 Key: RAVE-379
>                 URL: https://issues.apache.org/jira/browse/RAVE-379
>             Project: Rave
>          Issue Type: Bug
>          Components: rave-opensocial-provider
>    Affects Versions: 0.7-INCUBATING
>            Reporter: Raminderjeet Singh
>         Attachments: screenshot-1.jpg
>
>
> Following gadget from role widget store [1] not working 
> http://css.uni-graz.at/projects/role/recommender/navigationtool.xml 
> 1. http://www.role-widgetstore.eu/tool/navigation-tool-widget

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


Reply via email to