Project

General

Profile

Bug #13517

Searching for smart class parameter override values in the API results into a 404

Added by Ewoud Kohl van Wijngaarden about 7 years ago. Updated about 4 years ago.

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

Description

A GET request to /api/smart_class_parameters/1/override_values/ works, but /api/smart_class_parameters/1/override_values/?search=value%253Dtest2 results in a HTTP 404.


Related issues

Related to Hammer CLI - Feature #13260: RFE : allowing hammer-cli to search/update sc-parametersNew
Has duplicate Foreman - Bug #17268: Searching smart_class_parameters override_values failsDuplicate2016-11-08

Associated revisions

Revision be41e7f7 (diff)
Added by Himanshu Prakash about 4 years ago

Fixes #13517 - smart class parameter override values API result

History

#1 Updated by Dominic Cleal about 7 years ago

This happens because the search parameter is applied to the top-level resource in the URL - i.e. the smart class parameters, not the override values.

#2 Updated by Ewoud Kohl van Wijngaarden about 7 years ago

  • Related to Feature #13260: RFE : allowing hammer-cli to search/update sc-parameters added

#3 Updated by Ori Rabin over 6 years ago

  • Has duplicate Bug #17268: Searching smart_class_parameters override_values fails added

#4 Updated by Ori Rabin over 6 years ago

  • Bugzilla link set to 1385217

#5 Updated by The Foreman Bot about 4 years ago

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

#6 Updated by Ondřej Pražák about 4 years ago

  • Status changed from Ready For Testing to Closed
  • Fixed in Releases 1.22.0 added

Also available in: Atom PDF