Project

General

Profile

Bug #35687

Can't edit the `ignore_types` of an Organization

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

Foreman's taxonomy controller has a parameter `ignore_types` to allow setting which entities should get the taxonomy auto-assigned (https://github.com/theforeman/foreman/blob/develop/app/controllers/concerns/api/v2/taxonomies_controller.rb#L33)

This works fine in Foreman core for Organizations and Locations, but not in Katello, because Katello overrides the Organization controller and does not expose the same parameter there. Locations work fine.

The same action works just fine through the UI, but the API doc is wrong!

This was added "recently" (https://github.com/theforeman/foreman/commit/719f4d21dd788c7e4bde3e4a7c91589864489b48) and probably just was not synced to Katello's controller?


Related issues

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

Associated revisions

Revision 414bcb72 (diff)
Added by Evgeni Golov about 1 month ago

Fixes #35687 - add `ignore_types` to the Organizations controller

History

#1 Updated by The Foreman Bot about 1 month ago

  • Assignee set to Evgeni Golov
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/10330 added

#2 Updated by Evgeni Golov about 1 month ago

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

#3 Updated by The Foreman Bot about 1 month ago

  • Fixed in Releases Katello 4.7.0 added

#4 Updated by Evgeni Golov about 1 month ago

  • Status changed from Ready For Testing to Closed

#5 Updated by Chris Roberts about 1 month ago

  • Triaged changed from No to Yes
  • Target version set to Katello 4.7.0

Also available in: Atom PDF