You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/10/31 23:37:19 UTC
[jira] [Commented] (CLOUDSTACK-3868) listUsageRecords does not
return a correct number in the count parameter
[ https://issues.apache.org/jira/browse/CLOUDSTACK-3868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13810826#comment-13810826 ]
ASF subversion and git services commented on CLOUDSTACK-3868:
-------------------------------------------------------------
Commit 78b1ac4126aa1d6192846a4e4934d2a79d29cbff in branch refs/heads/master from [~alena1108]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=78b1ac4 ]
CLOUDSTACK-3868: fixed "count" param in listUsageRecords API to return the actual number of records matching the search criteria. Used to return the wrong value - the number of records per page
Conflicts:
server/src/com/cloud/usage/UsageServiceImpl.java
utils/src/com/cloud/utils/db/GenericDaoBase.java
> listUsageRecords does not return a correct number in the count parameter
> ------------------------------------------------------------------------
>
> Key: CLOUDSTACK-3868
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3868
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the default.)
> Components: API
> Affects Versions: 4.2.0
> Reporter: Takashi Sugano
> Assignee: Alena Prokharchyk
>
> List APIs are supposed to return a total number of results in the count parameter of the first response page even if specifying 'page=1&pagesize=1' and there are more than two results. The listUsageRecords, however, does not follow the behavior. Instead, it returns a number of results in the page.
--
This message was sent by Atlassian JIRA
(v6.1#6144)