[ https://issues.apache.org/jira/browse/CLOUDSTACK-9788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15869892#comment-15869892 ]
ASF GitHub Bot commented on CLOUDSTACK-9788: -------------------------------------------- GitHub user ustcweizhou opened a pull request: https://github.com/apache/cloudstack/pull/1946 CLOUDSTACK-9788: Fix exception listNetworks with pagesize=0 You can merge this pull request into a Git repository by running: $ git pull https://github.com/ustcweizhou/cloudstack pagesizeIs0 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cloudstack/pull/1946.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1946 ---- commit c883e294d36f64d09bed2f7e22086ab413f28d33 Author: Wei Zhou <w.z...@tech.leaseweb.com> Date: 2017-02-16T11:01:44Z CLOUDSTACK-9788: Fix exception listNetworks with pagesize=0 ---- > Exception is throwed when list networks with pagesize is 0 > ---------------------------------------------------------- > > Key: CLOUDSTACK-9788 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9788 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Reporter: Wei Zhou > Assignee: Wei Zhou > > listnetworks > {code} > $ cloudmonkey listNetworks listall=true page=1 pagesize=0 > Error 530: / by zero > { > "cserrorcode": 9999, > "errorcode": 530, > "errortext": "/ by zero", > "uuidList": [] > } > {code} > however, list virtualmachines > {code} > $ cloudmonkey listVirtualMachines listall=true page=1 pagesize=0 > { > "count": 240 > } > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)