Actions
Bug #27198
closedUI sends malformed API request upon enabling *first* redhat repo
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)
Actions