Project

General

Profile

Actions

Bug #25426

closed

hammer task list --search no longer appears to search ID field

Added by Adam Ruzicka over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

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

Description of problem:

`hammer task list --search <ID>` no longer returns output

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

  1. rpm -qa | grep tasks
    tfm-rubygem-foreman-tasks-0.13.4.2-1.el7sat.noarch
    tfm-rubygem-foreman-tasks-core-0.2.5-1.el7sat.noarch
    tfm-rubygem-hammer_cli_foreman_tasks-0.0.12-2.el7sat.noarch

How reproducible:

Always

Steps to Reproduce:

1. Find a task ID via `hammer task list --search <string>
2. Try to run a search against that particular tasks ID (`hammer task list --search <ID>`)

Actual results:

  1. hammer task list --search e23c4b1-6740-4402-b74f-b1b5bff04c35
    ---|------|-------|------------|----------|-------|--------|-------------|------------
    ID | NAME | OWNER | STARTED AT | ENDED AT | STATE | RESULT | TASK ACTION | TASK ERRORS
    ---|------|-------|------------|----------|-------|--------|-------------|------------

Expected results:

Output above with the task information.

Additional info:

Output from a 6.3.4 environment:

  1. hammer task list --search 9a77da0b-c7b0-43c9-96b5-aeb9a07e5bf8
    -------------------------------------|------|---------------|---------------------|---------------------|---------|---------|-------------|------------
    ID | NAME | OWNER | STARTED AT | ENDED AT | STATE | RESULT | TASK ACTION | TASK ERRORS
    -------------------------------------|------|---------------|---------------------|---------------------|---------|---------|-------------|------------
    9a77da0b-c7b0-43c9-96b5-aeb9a07e5bf8 | | foreman_admin | 2018/07/27 15:13:38 | 2018/07/27 15:13:40 | stopped | success | Create |
    -------------------------------------|------|---------------|---------------------|---------------------|---------|---------|-------------|------------
Actions #1

Updated by Adam Ruzicka over 5 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Adam Ruzicka
  • Pull request https://github.com/wvanbergen/scoped_search/pull/184 added
Actions #2

Updated by Adam Ruzicka over 5 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF