Project

General

Profile

Actions

Bug #35687

closed

Can't edit the `ignore_types` of an Organization

Added by Evgeni Golov about 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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 1 (1 open0 closed)

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

Actions
Actions

Also available in: Atom PDF