Actions
Bug #4311
closedName searches don't work when there are other parameters in the search route
Description
Search by name works fine when the resource is searchable globally.
Eg.
hammer architecture info --name i386 # hits /api/architectures?search= ...
The problem occurs when the name must be searched in scope of some other resource, eg. org:
hammer sync_plan info --name test --organization-id ACME_Corporation # hits /api/organizations/ACME_Corporation/sync_plans?search= ...
The search function doesn't have access to the organization id and the api call fails with "missing parameter" exception.
Updated by Tomáš Strachota over 10 years ago
- Status changed from New to Assigned
- Assignee set to Tomáš Strachota
Updated by Tomáš Strachota over 10 years ago
- Status changed from Assigned to Ready For Testing
Updated by Tomáš Strachota over 10 years ago
- Has duplicate Bug #4306: Unable to successfully perform a CLI command that uses a nested resource. added
Updated by Anonymous over 10 years ago
- Target version changed from 1.8.4 to 1.8.3
Updated by Anonymous over 10 years ago
- Target version changed from 1.8.3 to 1.8.4
Updated by Anonymous over 10 years ago
- Target version changed from 1.8.4 to 1.8.3
Updated by Anonymous over 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset hammer-cli-foreman|commit:d31f0a4718b6b6e31a1a860747f6d509d0b61f93.
Actions