Project

General

Profile

Bug #27897

Param type should not be required in host(group) api

Added by Oleh Fedorenko 4 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

https://github.com/theforeman/foreman/pull/6965 added parameter_type and made it to be required which lacks backward compatibility and may break custom scripts (there is a problem in hammer as well: https://projects.theforeman.org/issues/27868)


Related issues

Related to Hammer CLI - Bug #27868: No way to provide type for hosts parameters in Foreman >= 1.23Closed
Related to Foreman - Feature #27544: Hosts and Hostgroups API endpoints don't provide parameter_type and hidden_value supportClosed

Associated revisions

Revision 3af14a80 (diff)
Added by Oleh Fedorenko 4 months ago

Fixes #27897 - Parameter type is not required

Revision e39fa4f4 (diff)
Added by Oleh Fedorenko 4 months ago

Refs #27897 - Add tests and force default type to string

Revision 03594880 (diff)
Added by Oleh Fedorenko 4 months ago

Refs #27897 - Add tests for host

History

#1 Updated by The Foreman Bot 4 months ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/7054 added

#2 Updated by Ewoud Kohl van Wijngaarden 4 months ago

  • Related to Bug #27868: No way to provide type for hosts parameters in Foreman >= 1.23 added

#3 Updated by Ewoud Kohl van Wijngaarden 4 months ago

  • Related to Feature #27544: Hosts and Hostgroups API endpoints don't provide parameter_type and hidden_value support added

#4 Updated by The Foreman Bot 4 months ago

  • Fixed in Releases 1.24.0 added

#5 Updated by Oleh Fedorenko 4 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF