You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Kishan Kavala (JIRA)" <ji...@apache.org> on 2014/10/21 17:04:33 UTC

[jira] [Updated] (CLOUDSTACK-1412) listUsageRecords will loop data if requested page is beyond what is available

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-1412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kishan Kavala updated CLOUDSTACK-1412:
--------------------------------------
    Assignee:     (was: Kishan Kavala)

> listUsageRecords will loop data if requested page is beyond what is available
> -----------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-1412
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1412
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: API
>    Affects Versions: 4.0.0
>         Environment: CentOS 6.3 x86_64
>            Reporter: David Matteson
>              Labels: API
>
> When calling listUsageRecords requesting a page beyond what is available will cause the returned data to loop back to the beginning. This appears to go on indefinitely.
> For example, if there are 3 pages of results matching the date range and given criteria, and I request page 4, I will get page 1's data again. Page 5 returns page 2, and so on ad infinitum.
> The preferred behavior (at least from my perspective) would be requesting a page beyond what is available returns null.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)