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/07/27 00:37:49 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=13721313#comment-13721313 ] 

ASF subversion and git services commented on CLOUDSTACK-3868:
-------------------------------------------------------------

Commit 07bf2b2227df6dd4f64f58e50db177c3f59acdaf in branch refs/heads/4.2 from [~alena1108]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=07bf2b2 ]

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

                
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira