Project

General

Profile

Bug #33221

ansible collection file upload fails with Error during upload: undefined method `label' for nil:NilClass

Added by Samir Jha 10 months ago. Updated 9 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

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

Revision 5ad117c1 (diff)
Added by Samir Jha 9 months ago

Fixes #33221 - Hide upload section for Repository collections (#9540)

History

#1 Updated by The Foreman Bot 10 months 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 9 months ago

  • Target version set to Katello 4.2.0

#3 Updated by Jonathon Turel 9 months ago

  • Triaged changed from No to Yes

#4 Updated by The Foreman Bot 9 months ago

  • Fixed in Releases Katello 4.3.0 added

#5 Updated by Samir Jha 9 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF