Hide Forgot
Description of problem: I registered a system and trying load the packages on UI. I started loading the packages by clicking on "Load 25 more" option. Initially 25 packages were loaded from total of 240 packages. I keep on loading the count and suddenly UI were saying "Loaded 290 of 240 total". This count needs to be corrected. Version-Release number of selected component (if applicable): root@dhcp201-220 ~]# rpm -qa | grep katello katello-0.1.135-2.el6.x86_64 katello-configure-0.1.31-2.el6.noarch katello-glue-candlepin-0.1.135-2.el6.x86_64 katello-qpid-broker-key-pair-1.0-1.noarch katello-cli-0.1.23-3.el6.noarch katello-trusted-ssl-cert-1.0-1.noarch katello-cli-common-0.1.23-3.el6.noarch katello-glue-pulp-0.1.135-2.el6.x86_64 katello-all-0.1.135-2.el6.x86_64 katello-glue-foreman-0.1.135-2.el6.x86_64 katello-common-0.1.135-2.el6.noarch katello-httpd-ssl-key-pair-1.0-1.noarch katello-certs-tools-1.0.1-2.el6.noarch [root@dhcp201-220 ~]# How reproducible: always Steps to Reproduce: 1. Register a system 2. Select the system and on right pane under "Packages" keep on loading the packages and check the count Actual results: Incorrect count of packages on UI Expected results: UI should show correct package count Additional info:
Created attachment 546604 [details] Initial package count displayed as "Loaded 25 of total 240"
Created attachment 546605 [details] when I keep on loading the packages the count increases from total 240 and UI showing "Loaded 290 of 240 total"
mass move to CFSE product.
commit: a875ed04aba10372abbe86c9d2adb9a0c9897244 Updated so that the final count after all packages is Loaded X of X (e.g. Loaded 250 of 250). In addition, removed the 'Load N More' link from the UI after all have been loaded.
Verified with following katello build: katello-cli-0.1.53-1.el6.noarch candlepin-0.5.8-1.el6.noarch pulp-0.0.265-1.el6.noarch katello-glue-candlepin-0.1.226-1.el6.noarch katello-0.1.226-1.el6.noarch Now UI showing correct count and 'Load N More link removed after all have been loaded.
Created attachment 561514 [details] pkg count is correct and once all loaded 'Load N more' link removed
One observation related to this defect. 'Load N More' link showing 'Load 100 More' default. However in actual its increasing the default count to 25. Like initially total loaded rpms 100 and when you click 'Load 100 More', UI loads only 25. So I think 'Load 100 More' needs to be changed to 'Load 25 More' @Brad, Hi Brad, Any comments on this ?
Sachin, good catch! That was a bug. Fix just submitted with commit: c7be00cabebf3de3c381a918d84bea94c28f376e
Verified with following katello build: katello-0.1.237-1.el6.noarch katello-cli-0.1.54-1.el6.noarch katello-glue-pulp-0.1.237-1.el6.noarch pulp-0.0.264-1.el6.noarch Now package count is increasing with count of 25.
Created attachment 562439 [details] pkg count is increasing correctly and showing 'Load 25 more' instead of Load 100
getting rid of 6.0.0 version since that doesn't exist