Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

forumService.getForumTopicReplies does not pass thru parameters #1763

Open
ying1 opened this issue Feb 25, 2016 · 0 comments
Open

forumService.getForumTopicReplies does not pass thru parameters #1763

ying1 opened this issue Feb 25, 2016 · 0 comments

Comments

@ying1
Copy link

ying1 commented Feb 25, 2016

Attempted to use:
Map<String, String> parameters = new HashMap<String, String>();
parameters.put("page", Integer.toString(1));
parameters.put("ps", Integer.toString(25));
forumService.getForumTopicReplies(topicID, parameters);

The max result that I get is 10 results, and looking at the response, http call, there is no ps or page parameter passed thru.

I checked the code,
forumService.getForumTopicReplies(topicID, parameters);
=> getForumTopicReplies
public EntityList getForumTopicReplies(String topicUuid,
Map<String, String> parameters) throws ClientServicesException {
String url = ForumUrls.TOPIC_REPLIES.format(this,
ForumUrls.topicPart(topicUuid));
return getReplies(url, parameters);
}

==> getReplies -> NOTE THAT parameters is not passed thru.
private EntityList getReplies(String url,
Map<String, String> parameters) throws ClientServicesException {
return getForumReplyEntityList(url, null);
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant