Bug #27538
openOrganization update API documents organization as required, while it is not.
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).
Updated by Jonathon Turel over 5 years ago
- Target version set to Katello Backlog
- Difficulty set to trivial
- Triaged changed from No to Yes
Updated by Evgeni Golov about 5 years ago
- Related to Tracker #27680: API bugs that need workarounds in foreman-ansible-modules added
Updated by John Mitsch about 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
Updated by John Mitsch about 5 years ago
https://github.com/Katello/katello/pull/8209 has some more info as well