Project

General

Profile

Actions

Bug #28800

closed

hammer task progress command complete with "Error: undefined method `empty?' for nil:NilClass" exception

Added by Maria Agaphontzev almost 6 years ago. Updated almost 6 years ago.

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

Description

Description of problem: hammer task progress command complete with "Error: undefined method `empty?' for nil:NilClass" exception.

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

How reproducible:
always

Steps to Reproduce:

1. Create a content view with the RHEL7 repository.
2. Publish the content view
3- Content-view job cancel due to https://bugzilla.redhat.com/show_bug.cgi?id=1773601.
4- Restarted the job again and check the progress status of the restarted job, the progress job completed successfully with nil:NilClass exception

  1. hammer task progress --id 288cebe4-8991-4d9b-bc26-83b017e77672
    [..........................................................................................................................................................................................................] [100%]
    Error: undefined method `empty?' for nil:NilClass

Actual results:
hammer task progress command complete with nil:Nilclass exception.

Expected results:
hammer task progress command should be completed successfully
ugzilla.redhat.com/show_bug.cgi?id=1773601.
4- Restarted the job again and check the progress status of the restarted job, the progress job completed successfully with nil:NilClass exception

  1. hammer task progress --id 288cebe4-8991-4d9b-bc26-83b017e77672
    [..........................................................................................................................................................................................................] [100%]
    Error: undefined method `empty?' for nil:NilClass
Actions #1

Updated by Adam Ruzicka almost 6 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/hammer-cli-foreman-tasks/pull/38 added
Actions #2

Updated by Maria Agaphontzev almost 6 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF