Bug #27538
Organization 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).
Related issues
History
#1
Updated by Jonathon Turel almost 3 years ago
- Triaged changed from No to Yes
- Difficulty set to trivial
- Target version set to Katello Backlog
#2
Updated by Evgeni Golov over 2 years ago
- Related to Tracker #27680: API bugs that need workarounds in foreman-ansible-modules added
#3
Updated by John Mitsch over 2 years 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 over 2 years ago
https://github.com/Katello/katello/pull/8209 has some more info as well
#5
Updated by James Jeffers over 2 years ago
- Triaged changed from No to Yes