Bug #8743
closedrepo index api call with content view and environment not returning correct repos
Description
Say you have a Dev environment with environment_id = 3 and content view with cv_id = 2
Take a query like
In the present day it says " show all repos that were added to the content view id" and then says "filter this list further and only return repos allocated to environment 3" . Problem with this query is that all repositories the were added to the content view are library repos. So what we are getting is not "show me all the repos that belong this content view in Dev env" instead we are getting "show me all the repos that got to this content view in the library env and then filter that repo list to only show me ones in Dev env." This causes it to return blank list because they are in the library env and not dev :)
Basically we need to modify that call to say "if you passed both the content view id and environment id show me all repos in the version of the content view that exists in that environment"
Updated by The Foreman Bot almost 10 years ago
- Status changed from New to Ready For Testing
- Target version set to 62
- Pull request https://github.com/Katello/katello/pull/4880 added
- Pull request deleted (
)
Updated by Eric Helms almost 10 years ago
- Translation missing: en.field_release set to 14
- Triaged changed from No to Yes
Updated by Partha Aji almost 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|06e24c27ed3e9eab23b01319a7dd192863beb76b.