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)
Updated by Chris Roberts over 5 years ago
- Target version set to Katello 3.13.0
- Triaged changed from No to Yes
Updated by The Foreman Bot over 5 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
Updated by Samir Jha over 5 years ago
- Is duplicate of Bug #27426: enabled repository does not show under 'Enabled Repository' view without refresh the page added
Updated by Samir Jha over 5 years ago
- Status changed from Ready For Testing to Duplicate
Actions