[
https://wso2.org/jira/browse/MASHUP-851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=28522#action_28522
]
Ruchira Wageesha commented on MASHUP-851:
-----------------------------------------
getEntries()[0].link returns an array by default as it is used for both
atom(atom feed might have many links) and rss. If we change the above code
something like below,
getEntries()[0].link[0]
then it returns a string. Further, it might be better to change the "link" as
"links" in the api which is much meaningful. But in that case we will have to
consider the mashups that use the old code as they would fail.
> Entry methods fail to conver to string
> --------------------------------------
>
> Key: MASHUP-851
> URL: https://wso2.org/jira/browse/MASHUP-851
> Project: WSO2 Mashup Server
> Issue Type: Bug
> Reporter: Jonathan Marsh
> Assignee: Ruchira Wageesha
> Fix For: 2.0
>
>
> I notice entry.title = 3 throws and exception rather than casting to a string
> as I would expect in Javascript. Please also check other methods of this and
> the feed object to verify that appropriate casting occurs.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Mashup-dev mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/mashup-dev