Bug #28800
closedhammer task progress command complete with "Error: undefined method `empty?' for nil:NilClass" exception
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
- 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
- hammer task progress --id 288cebe4-8991-4d9b-bc26-83b017e77672
[..........................................................................................................................................................................................................] [100%]
Error: undefined method `empty?' for nil:NilClass
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
Updated by Maria Agaphontzev almost 6 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset hammer-cli-foreman-tasks|97245dad2cfb191092b518061a01388a736c9b9c.