Project

General

Profile

Bug #24322

When owner_id is specified by API: assume the User as owner_type by default

Added by Ivan Necas 5 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Inventory
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Right now, specifying --owner option on host create without specifying --owner_type leads to the owner option to be ignorred silently.

Since setting a user as owner is probably more common, we should assume that's the case.

Associated revisions

Revision a298964b (diff)
Added by Ivan Necas 5 months ago

Fixes #24322 - set owner_type implicitly to User

History

#1 Updated by The Foreman Bot 5 months ago

  • Assignee set to Ivan Necas
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/5865 added

#2 Updated by Daniel Lobato Garcia 5 months ago

  • Target version set to 1.20.0
  • Subject changed from When owner_id is specified by API: assume the User as owner_type by default to When owner_id is specified by API: assume the User as owner_type by default

#3 Updated by Marek Hulán 5 months ago

  • Fixed in Releases 1.20.0 added

#4 Updated by Ivan Necas 5 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF