Bug #33370
closedCould not update repository with URL (ISE 500 in logs) when url was not previously set
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1998566
Description of problem:
Could not update repository with URL
Version-Release number of selected component (if applicable):
6.10 snap 15
How reproducible:
same error on different Satellite
Steps to Reproduce:
1. hammer product create --name 'TestProduct' --organization-id 1
2. hammer repository create --content-type yum --name CustomRepo --product 'TestProduct' --organization-id 1
3. hammer repository update --url 'https://stephenw.fedorapeople.org/fakerepos/multiple_errata' --name CustomRepo --product 'TestProduct' --organization-id 1
Actual results:
Could not update the repository:
Task 72f3b063-111c-4665-9304-a90e31d2b452: NoMethodError: undefined method `[]' for true:TrueClass
Expected results:
Repo is updated with URL