Bug #33221
ansible 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:
Associated revisions
History
#1
Updated by The Foreman Bot over 1 year ago
- Assignee set to Samir Jha
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/9540 added
#2
Updated by Jonathon Turel over 1 year ago
- Target version set to Katello 4.2.0
#3
Updated by Jonathon Turel over 1 year ago
- Triaged changed from No to Yes
#4
Updated by The Foreman Bot over 1 year ago
- Fixed in Releases Katello 4.3.0 added
#5
Updated by Samir Jha over 1 year ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|5ad117c114e45d4b93c803412ae27c23405ad932.
Fixes #33221 - Hide upload section for Repository collections (#9540)