Red Hat Bugzilla – Bug 1197836
Content VIew json is missing the repository content counts
Last modified: 2017-02-23 15:24:36 EST
Commit https://github.com/waldenraines/katello/commit/0603abcadd03186cf0a969274cd42c538e2a1170 removed the inclusion of the entire repositories rabl to speed up the content view index page but neglected to include the repository counts in the attribute list. We need to add these counts back so they can be properly displayed in the UI. h3. Steps to Reproduce 1. Ensure you have at least one published content view with at least repository or puppet module included 2. Create a composite content view 3. Add the repository via the content views tab 4. Click on list/remove 5. Note that the repository/puppet module count is not displayed
Created from redmine issue http://projects.theforeman.org/issues/9608
Upstream bug assigned to walden@redhat.com
PR: https://github.com/Katello/katello/pull/5068
Moving to POST since upstream bug http://projects.theforeman.org/issues/9608 has been closed ------------- Walden Raines Applied in changeset commit:katello|952d6d268ba90ca5d182ea4e0708e7b8df84a10d.
Now it does show the repository/puppet-module count, but the repo count is wrong. Before adding: checking via the add Tab: the cv show 3 repos After adding: checking via the list/view tab the cv now shows 9 repos. Also clicking on the 9 repos , just shows 3 repos.
Created attachment 1002687 [details] prior to adding cv to composite cv
Created attachment 1002688 [details] after adding cv to composite cv
PR: https://github.com/Katello/katello/pull/5115
commit bc604653a55de7f15e1b10667570517eeccb9eb2 Merge: ee9bf59 bf84eac Author: Walden Raines <walden@redhat.com> Date: Tue Mar 17 13:37:54 2015 -0400 Merge pull request #5115 from waldenraines/9608 Fixes #9608: correct repository count, BZ 1197836. commit bf84eacfa15a5dc7f625da7f4196875ac5f8fb19 Author: Walden Raines <walden@redhat.com> Date: Tue Mar 17 09:47:05 2015 -0400 Fixes #9608: correct repository count, BZ 1197836. The respository counts were wrong on the content view composite list page. This commit fixes the counts. http://projects.theforeman.org/issues/9608 https://bugzilla.redhat.com/show_bug.cgi?id=1197836
Created attachment 1022734 [details] the repo count on cv list tab is fine now VERIFIED with Sat6.1.0-GA-SNAP2
This bug is slated to be released with Satellite 6.1.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2015:1592