Description of problem: Changing the custom product checksum type is failing with error message. How reproducible: Every time when we create a custom product. Steps to Reproduce: 1. Create a custom product with a repository like EPEL. 2. Select the checksum type, and create the repository. 3. Go back to the repository and change the checksum type it will fail with an error. Actual results: Changing checksum type fails with error- undefined method `default_capsule?' for nil:NilClass (NoMethodError) /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.7.0.22/app/models/katello/glue/pulp/repo.rb:221:in `yum_importer_values' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.7.0.22/app/mode Expected results: It should allow us to change the checksum type as the checksum type for 5Server repo is SHA1 and not SHA256. Additional info:
Could you please upload the full trace?
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:2927