#1055 API call getRPMHeaders with non existing rpm should return error
Closed: Dropped by tkopecek. Opened by jcupova.

Steps to Reproduce:

getRPMHeaders(non_existing_rpm,headers=['name', 'version','release', 'arch'])

Actual result:

{}

Expected result:

Should be returning an error message.


There is explicit code branch that, when rpm doesn't exist, empty dict is returned. Is there some rationale for it @mikem? I would expect calling get_rpm with strict than this.

Metadata Update from @tkopecek:
- Issue tagged with: discussion

Metadata Update from @tkopecek:
- Custom field Size adjusted to None
- Issue close_status updated to: Dropped
- Issue status updated to: Closed (was: Open)

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

Please continue any further discussion there.

Metadata