#1139 runroot API call should raise GenericError exception for non existing tag
Closed: Fixed by mikem. Opened by jcupova.

Steps to Reproduce:

tag = 'non-existing-tag'
arch 'x86_64'
Run runroot(tag, arch, ['echo', 'hello', 'world'], )

Actual result:

API call doesn't return some message
Web interface returns this after the click to runroot task:

Error
An error has occurred while processing your request.
IndexError: list index out of range
Full tracebacks disabled

Expected result:

Should be returning an error message that tag is not existing and on web interface should be normal task info with the failed state.
Screenshot_from_2018-10-31_09-50-46.png


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

PR #1257

While PR #1257 will prevent such malformed tasks from being created, it does nothing to fix the display of such malformed tasks. The ui should do something better in such case, even if only to report that the task data is malformed.

Commit da850231 relates to this ticket

Commit 167eba33 fixes this issue

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

Follow up work: https://pagure.io/koji/issue/1484

Metadata Update from @mikem:
- Custom field Size adjusted to None

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

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/koji/issues/1139

Please continue any further discussion there.

Metadata
Related Pull Requests