[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-9788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15886875#comment-15886875
 ] 

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

Commit c4d63af149d22fce0534ce623ef95cb2368c6c7e in cloudstack's branch 
refs/heads/4.9 from [~rajanik]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=c4d63af ]

Merge pull request #1946 from ustcweizhou/pagesizeIs0

CLOUDSTACK-9788: Fix exception listNetworks with pagesize=0

* pr/1946:
  CLOUDSTACK-9788: Fix exception listNetworks with pagesize=0

Signed-off-by: Rajani Karuturi <rajani.karut...@accelerite.com>


> 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)

Reply via email to