Project

General

Custom queries

Profile

Actions

Bug #22638

closed

Content view repository List/Remove page is the same as Add page

Added by Alexander Murashkin over 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Category:
Content Views
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

After update to katello-3.5.1-1.el7 one of content views shows incorrect list of YUM repositories. Specifically, if I go to

Content->Content Views->Fedora 27 Server->Yum Content->Repositories->List/Remove page

it does not show the correct list of included repositories, it shows instead the same list as Add page (not included repositories). Screenshots of both pages attached.

Hammer prints a list of repositories that seems OK (attached). Postgresql tables look also OK.

Production log (attached) for List/Remove and Add pages contains different browser URLs, as expected, but the same API requests .

List/Remove - https://sat01.example.com/content_views/2/repositories/yum?page=1&per_page=100
GET "/katello/api/v2/repositories?available_for=content_view&content_type=yum&content_view_id=2&full_result=true&library=true&organization_id=1&page=1&paged=true&per_page=100&search="

Add - https://sat01.example.com/content_views/2/repositories/yum/available?page=1&per_page=100
GET "/katello/api/v2/repositories?available_for=content_view&content_type=yum&content_view_id=2&full_result=true&library=true&organization_id=1&page=1&paged=true&per_page=100&search="

Note that other content views are shown correctly. For example, content_view_id 4, List/Remove and Add API request

GET "/katello/api/v2/repositories?content_type=yum&content_view_id=4&full_result=true&organization_id=1&page=1&paged=true&per_page=100&search="
GET "/katello/api/v2/repositories?available_for=content_view&content_type=yum&content_view_id=4&full_result=true&library=true&organization_id=1&page=1&paged=true&per_page=100&search="


Files

hammer_output.txt hammer_output.txt 37 KB hammer output for content view and repos Alexander Murashkin, 02/21/2018 04:14 AM
Repository_Selection_List_Remove.png View Repository_Selection_List_Remove.png 236 KB screenshot of List/Remove page Alexander Murashkin, 02/21/2018 04:28 AM
Repository_Selection_Add.png View Repository_Selection_Add.png 233 KB screenshot of Add page Alexander Murashkin, 02/21/2018 04:28 AM
recently_installed_rpms.txt recently_installed_rpms.txt 6.94 KB recently installed RPMs Alexander Murashkin, 02/21/2018 04:33 AM
production_log_list_remove.txt production_log_list_remove.txt 444 KB log of List/Remove page Alexander Murashkin, 02/21/2018 05:02 AM
production_log_add.txt production_log_add.txt 445 KB log of Add page Alexander Murashkin, 02/21/2018 05:02 AM
#1

Updated by hack apps over 7 years ago

  • Subject changed from Content view repository List/Remove page is the same as Add page to How to use Game Killer APK Download v5.0 - Latest Version
#3

Updated by Alexander Murashkin over 7 years ago

  • Subject changed from How to use Game Killer APK Download v5.0 - Latest Version to Content view repository List/Remove page is the same as Add page
#4

Updated by Justin Sherrill over 7 years ago

  • Assignee set to Andrew Kofink
  • Priority changed from Normal to Urgent
  • Target version set to 245
  • Translation missing: en.field_release set to 339
#7

Updated by Andrew Kofink over 7 years ago

  • Status changed from New to Closed
  • Translation missing: en.field_release changed from 339 to 166
Actions

Also available in: Atom PDF