#1080 CLI download-task should respond "No such task" if task does not exist
Closed: Fixed 5 years ago Opened 5 years ago by mfilip.

Steps to Reproduce:
koji download-task 123456

Actual result:

2018-09-03 07:36:45,985 [ERROR] koji: TypeError: 'NoneType' object has no attribute '__getitem__'

Expected result:

No such task id: 123456

Metadata Update from @julian8628:
- Issue tagged with: easyfix

5 years ago

Metadata Update from @mikem:
- Issue set to the milestone: 1.17

5 years ago

PR #1098 was merged in September, but for some reason Pagure did not close it.

See commit 787d956

Metadata Update from @mikem:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

5 years ago

Metadata Update from @julian8628:
- Issue status updated to: Open (was: Closed)

5 years ago

While we may want to follow up, this issue is fixed by the previous PR.

With current master (d8ccc94cba32cd7520f7339a69ff06c92ac781d7):

$ koji download-task 1000000000
No such task: #1000000000

Metadata Update from @mikem:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

5 years ago

Login to comment on this ticket.

Metadata