Project

General

Profile

Actions

Bug #27198

closed

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

Added by Samir Jha over 5 years ago. Updated over 5 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

Also available in: Atom PDF