-
Bug
-
Resolution: Fixed
-
Major
-
6.5.3
-
Security Level: Jimmy
-
None
<paging pageSize="@load(vm.pageSize)" totalSize="@load(vm.totalSize)" activePage="@bind(vm.activePage)" />
will cause an error when active page is greater than 0 because its load binding is executed before the load binding to totalSize... so the initialization order is wrong on the paging component.
Paging.setActivePage() will be called first resulting in an exception like (WrongValueException("Unable to set active page to 2 since only 1 pages")) as the number of pages is calculated from the pageSize and the totalSize which are not yet initialized.