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:
Updated by The Foreman Bot over 3 years ago
- Status changed from New to Ready For Testing
- Assignee set to Samir Jha
- Pull request https://github.com/Katello/katello/pull/9540 added
Updated by The Foreman Bot over 3 years ago
- Fixed in Releases Katello 4.3.0 added
Updated by Samir Jha over 3 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|5ad117c114e45d4b93c803412ae27c23405ad932.