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
Updated by The Foreman Bot over 3 years ago
- Status changed from New to Ready For Testing
- Assignee set to Justin Sherrill
- Pull request https://github.com/Katello/katello/pull/9589 added
Updated by Justin Sherrill over 3 years ago
- Related to Bug #33251: usability issues with updating a repository with invalid data added
Updated by The Foreman Bot about 3 years ago
- Fixed in Releases Katello 4.3.0 added
Updated by Justin Sherrill about 3 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|0b288def8835d110f5beb1ba104b5cbabc514244.
Updated by The Foreman Bot about 3 years ago
- Pull request https://github.com/Katello/katello/pull/9656 added