rave-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ankur Goyal (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (RAVE-252) error in result of osapi.people.getViewer when called in gadget
Date Tue, 04 Oct 2011 19:17:34 GMT

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

Ankur Goyal commented on RAVE-252:
----------------------------------

I was testing two simple gadgets to fetch the owner/viewer in rave.

The two gadgets (Open Social version 0.8) are:
For Owner:
http://hosting.gmodules.com/ig/gadgets/file/117043626034258521516/OpenSocialTestVer-08ForOwner.xml

For Viewer:
http://hosting.gmodules.com/ig/gadgets/file/117043626034258521516/OpenSocialTestVer-08ForViewer.xml

Logic of both gadgets:
Will give an alert message stating whether the var viewer/owner is null or not.
If not null, then it will display the name of the viewer/owner.
Otherwise will show nothing.

Works fine in iGoogle but in Rave displays nothing with the alert showing Viewer/Owner is
null.

(While testing in iGoogle, when added for the first time the alert will show "is null" as
it will ask for your permission to fetch data. When you click "yes", then you will see the
alert again showing "is not null" and the name will be displayed)
                
> error in result of osapi.people.getViewer when called in gadget
> ---------------------------------------------------------------
>
>                 Key: RAVE-252
>                 URL: https://issues.apache.org/jira/browse/RAVE-252
>             Project: Rave
>          Issue Type: Bug
>    Affects Versions: 0.4-INCUBATING
>            Reporter: Xuan Wu
>              Labels: test
>             Fix For: 0.5-INCUBATING
>
>
> Test gadget is:
> http://hosting.gmodules.com/ig/gadgets/file/101094343342449412966/osapiTest.xml
> In Rave the result has error, and displayName is undefined. In igoogle it returns the
user displayName correctly.

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

        

Mime
View raw message