Project

General

Profile

Actions

Bug #33221

closed

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

Added by Samir Jha over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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:

Actions #1

Updated by The Foreman Bot over 2 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
Actions #2

Updated by Jonathon Turel over 2 years ago

  • Target version set to Katello 4.2.0
Actions #3

Updated by Jonathon Turel over 2 years ago

  • Triaged changed from No to Yes
Actions #4

Updated by The Foreman Bot over 2 years ago

  • Fixed in Releases Katello 4.3.0 added
Actions #5

Updated by Samir Jha over 2 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF