When you have a number of resources that is a multiple of the page size, then the last page is computed wrong. Consider 405 resources and a ps of 5, then getting the last page from a previous call to "getbyquery" results in { "message": "PageList was passed an empty collection but 'totalSize' was 405, PageControl[page=81, size=5, sort[name ASC, id ASC]]" } which is logical, as the resources 400-404 are already on page 80 (with page numbering starting at 0)
master 1ccc454cc27162
Bulk closing now that 4.10 is out. If you think an issue is not resolved, please open a new BZ and link to the existing one.