Project

General

Profile

Bug #27538

Organization update API documents organization as required, while it is not.

Added by Evgeni Golov about 1 year ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
trivial
Triaged:
Yes
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

We currently document that the user needs to pass an organization Hash when updating an Org, but in reality this is not really needed when the user only wants to update the redhat_repository_url which lives outside this Hash (why that is so is a different question).


Related issues

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

History

#1 Updated by Jonathon Turel about 1 year ago

  • Triaged changed from No to Yes
  • Difficulty set to trivial
  • Target version set to Katello Backlog

#2 Updated by Evgeni Golov about 1 year ago

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

#3 Updated by John Mitsch about 1 year ago

  • Triaged changed from Yes to No
  • Assignee set to John Mitsch

I looked at this for the backlog grooming day, but going to have to dig/ask around more about why we use the Foreman Taxonomies param group rather than the one defined in that controller. The one defined in the Katello controller has the "action_aware" argument meaning it would not be required for update, only create (and fix this issue if we use that). Assigning to myself and we will re-triage :) https://github.com/Katello/katello/blob/master/app/controllers/katello/api/v2/organizations_controller.rb#L64

#4 Updated by John Mitsch about 1 year ago

#5 Updated by James Jeffers about 1 year ago

  • Triaged changed from No to Yes

Also available in: Atom PDF