Bug #33221
closedansible collection file upload fails with Error during upload: undefined method `label' for nil:NilClass
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1989078
Description of problem:
It is not possible to import ansible collection s to a repo via 'Choose files' button
Version-Release number of selected component (if applicable):
Satellite 6.10 sn 11
How reproducible:
always
Steps to Reproduce:
1. Find an ansible collection on galaxy (or automation hub), e.g. https://galaxy.ansible.com/theforeman/foreman
2. Download collection as a tarball
3. On Satellite, create a product and a repo of ansible collection type
4. In repo details, click 'choose files', select the downloaded tarball and click 'Upload'
Actual results:
alert box with Error during upload: undefined method `label' for nil:NilClass
Expected results:
Collections successfully uploaded (or, if out of scope for 6.10, make clear the upload functionality is disabled)
Additional info: