Project

General

Profile

Actions

Bug #27198

closed

UI sends malformed API request upon enabling *first* redhat repo

Added by Samir Jha almost 5 years ago. Updated over 4 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
Category:
Web UI
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

The API call made to get enabled repos is possibly malformed and looks like /katello/api/v2/repositories?organization_id=1&enabled=true&page=0&per_page=NaN&search=(redhat+%3D+true)
with the response: {"displayMessage":"invalid page: 0","errors":["invalid page: 0"]}

Notice page=0&per_page=NaN in the request.

Works ok after refresh with the API call /katello/api/v2/repositories?organization_id=1&enabled=true&search=(redhat+%3D+true)


Related issues 1 (0 open1 closed)

Is duplicate of Katello - Bug #27426: enabled repository does not show under 'Enabled Repository' view without refresh the pageClosedJeremy LenzActions
Actions #1

Updated by Chris Roberts almost 5 years ago

  • Target version set to Katello 3.13.0
  • Triaged changed from No to Yes
Actions #2

Updated by The Foreman Bot over 4 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Samir Jha
  • Pull request https://github.com/Katello/katello/pull/8254 added
Actions #3

Updated by Samir Jha over 4 years ago

  • Is duplicate of Bug #27426: enabled repository does not show under 'Enabled Repository' view without refresh the page added
Actions #4

Updated by Samir Jha over 4 years ago

  • Status changed from Ready For Testing to Duplicate
Actions

Also available in: Atom PDF