Actions
Bug #27673
openRepository Set API lists input paramter "id" as number, which potentially excludes Candlepin content id values
Status:
New
Priority:
Normal
Assignee:
-
Category:
API
Target version:
-
Description
Api::V2::RepositorySetsController expects :id
to be :number
for /repository_sets/:id
, /repository_sets/:id/available_repositories
etc.
However, since this input parameter might also refer to a Candlepin content id as well as Katello db id, Candlepin content ids that are not numbers cannot be used.
Updated by Samir Jha over 5 years ago
- Target version set to Katello 3.14.0
- Difficulty set to trivial
- Triaged changed from No to Yes
Updated by Evgeni Golov over 5 years ago
- Related to Tracker #27680: API bugs that need workarounds in foreman-ansible-modules added
Updated by James Jeffers about 5 years ago
The id is actually the Candlepin content id, which may be a non-integer.
Updated by James Jeffers about 5 years ago
- Status changed from New to Rejected
- Target version changed from Katello 3.14.0 to Katello Recycle Bin
Updated by James Jeffers about 5 years ago
- Subject changed from Repository Set API returns ID as String, but expects Integer to Repository Set API lists input paramter "id" as number, which potentially excludes Candlepin content id values
- Status changed from Rejected to New
- Assignee deleted (
James Jeffers) - Target version changed from Katello Recycle Bin to Katello Backlog
Updated by James Jeffers about 5 years ago
- Difficulty changed from trivial to medium
Discussed this topic with Katello team members. The change itself would be trivial, but the implications of doing so are not understood well enough to proceed. For example, what other clients rely on the current input format? It's not known at this point, so more investigation is required.
Actions