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

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

Commit 069e3f92adb3d047011b2ca2cb7eb6c18cd707a8 in cloudstack's branch 
refs/heads/4.5 from [[email protected]]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=069e3f9 ]

CLOUDSTACK-8766: Fix infinite scrolling pagination for zonal iso/template 
listing

Due to aggregation of templates and isos on the UI/client side, it could result
that for each page we could end up having lesser templates/isos listed to have
the scroll shown that triggers infinite scrolling. In theory, there
is still a chance if there are several zones with the same template being listed
resulting in only one aggregated template which could cause the scroll to not
get shown; but in practice I believe this fix should work for most users.

Page size set based on experimental data:
https://github.com/apache/cloudstack/pull/751#issuecomment-135661968

Signed-off-by: Rohit Yadav <[email protected]>


> In zone based template listings, infinite scrolling pagination is broken
> ------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-8766
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8766
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>    Affects Versions: 4.5.0, 4.5.1, 4.5.2
>            Reporter: Rohit Yadav
>            Assignee: Rohit Yadav
>            Priority: Minor
>             Fix For: 4.5.3, 4.6.0
>
>
> On the template page, when a template is select, goto Zones tab and scroll to 
> list all the templates. In case the number of zones are more than 20 there is 
> an infinite scrolling/listing issue as it does not paginate the result. The 
> fix would be to use listViewDataProvider to get pagination when requesting 
> the API.



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

Reply via email to