Bug #27673
open
Repository Set API lists input paramter "id" as number, which potentially excludes Candlepin content id values
Added by Evgeni Golov over 5 years ago.
Updated 3 months ago.
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.
Related issues
1 (1 open — 0 closed)
- Target version set to Katello 3.14.0
- Difficulty set to trivial
- Triaged changed from No to Yes
- Related to Tracker #27680: API bugs that need workarounds in foreman-ansible-modules added
- Assignee set to James Jeffers
The id is actually the Candlepin content id, which may be a non-integer.
- Status changed from New to Rejected
- Target version changed from Katello 3.14.0 to Katello Recycle Bin
- 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
- Description updated (diff)
- 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.
- Target version deleted (
Katello Backlog)
Also available in: Atom
PDF