Project

General

Profile

Bug #17268

Searching smart_class_parameters override_values fails

Added by Ori Rabin over 6 years ago. Updated over 6 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
Category:
Parameters
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1385217

Description of problem:
when searching for entries in the API call https://satellite.example.com/api/v2/smart_class_parameters/148/override_values

using ?search=<something> fails.

GET: https://satellite.example.com/api/v2/smart_class_parameters/148/override_values

{
"total": 1,
"subtotal": 1,
"page": 1,
"per_page": 20,
"search": null,
"sort": {
"by": null,
"order": null
},
"results": [ {
"created_at": "2016-10-14 18:55:05 UTC",
"updated_at": "2016-10-14 18:55:05 UTC",
"id": 2,
"match": "fqdn=hostname.example.redhat.com",
"value": "testing",
"use_puppet_default": false
}
]
}

But: GET https://satellite.example.com/api/v2/smart_class_parameters/148/override_values?search="testing"

{
"message":"Smart class parameter not found by id ''"
}

Version-Release number of selected component (if applicable):

How reproducible:

Always

Steps to Reproduce:
1. Hit the API url https://satellite.example.com/api/v2/smart_class_parameters/148/override_values?search="testing"

Actual results:

{
"message":"Smart class parameter not found by id ''"
}

Expected results:

Return entry with override_values as response


Related issues

Is duplicate of Foreman - Bug #13517: Searching for smart class parameter override values in the API results into a 404Closed

History

#1 Updated by Dominic Cleal over 6 years ago

Is this a duplicate of #13517?

#2 Updated by Ori Rabin over 6 years ago

  • Status changed from New to Duplicate

Yes, thanks

#3 Updated by Ori Rabin over 6 years ago

  • Is duplicate of Bug #13517: Searching for smart class parameter override values in the API results into a 404 added

Also available in: Atom PDF