Project

General

Profile

Actions

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 4 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
API
Target version:
-
Difficulty:
medium
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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 open0 closed)

Related to Foreman - Tracker #27680: API bugs that need workarounds in foreman-ansible-modulesNew

Actions
Actions #1

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
Actions #2

Updated by Evgeni Golov over 5 years ago

  • Related to Tracker #27680: API bugs that need workarounds in foreman-ansible-modules added
Actions #3

Updated by James Jeffers over 5 years ago

  • Assignee set to James Jeffers
Actions #4

Updated by James Jeffers over 5 years ago

The id is actually the Candlepin content id, which may be a non-integer.

Actions #5

Updated by James Jeffers over 5 years ago

  • Status changed from New to Rejected
  • Target version changed from Katello 3.14.0 to Katello Recycle Bin
Actions #6

Updated by James Jeffers over 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
Actions #7

Updated by James Jeffers over 5 years ago

  • Description updated (diff)
Actions #8

Updated by James Jeffers over 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 #9

Updated by Ian Ballou 4 months ago

  • Target version deleted (Katello Backlog)
Actions

Also available in: Atom PDF