#1139 runroot API call should raise GenericError exception for non existing tag
Closed: Fixed 4 years ago by mikem. Opened 5 years ago 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

5 years ago

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 da85023 relates to this ticket

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

4 years ago

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

4 years ago

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

4 years ago

Login to comment on this ticket.

Metadata
Attachments 1
Related Pull Requests
  • #1257 Merged 4 years ago