Project

General

Profile

Actions

Bug #9608

closed

Content VIew json is missing the repository content counts

Added by Walden Raines about 9 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
easy
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

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.

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

Actions #1

Updated by Walden Raines about 9 years ago

  • Bugzilla link set to 1197836
Actions #2

Updated by The Foreman Bot about 9 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/5068 added
  • Pull request deleted ()
Actions #3

Updated by Walden Raines about 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #4

Updated by Walden Raines about 9 years ago

  • Status changed from Closed to Assigned
  • Target version changed from 67 to 68
  • Pull request added
  • Pull request deleted (https://github.com/Katello/katello/pull/5068)

(In reply to Kedar Bidarkar from comment #8)

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.

Actions #5

Updated by The Foreman Bot about 9 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/5115 added
  • Pull request deleted ()
Actions #6

Updated by Walden Raines about 9 years ago

  • Status changed from Ready For Testing to Closed
Actions #7

Updated by Eric Helms almost 9 years ago

  • translation missing: en.field_release set to 31
Actions

Also available in: Atom PDF