Project

General

Profile

Actions

Bug #17268

closed

Searching smart_class_parameters override_values fails

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

Status:
Duplicate
Priority:
Normal
Assignee:
Category:
Parameters
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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

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

Updated by Dominic Cleal over 7 years ago

Is this a duplicate of #13517?

Actions #2

Updated by Ori Rabin over 7 years ago

  • Status changed from New to Duplicate

Yes, thanks

Actions #3

Updated by Ori Rabin over 7 years ago

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

Also available in: Atom PDF