Project

General

Custom queries

Profile

Actions

Bug #27538

open

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

Added by Evgeni Golov over 5 years ago. Updated 8 months ago.

Status:
New
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Difficulty:
trivial
Triaged:
Yes
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 1 (1 open0 closed)

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

Actions
Actions #3

Updated by John Mitsch over 5 years ago

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

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

Actions #4

Updated by John Mitsch over 5 years ago

Actions

Also available in: Atom PDF