Bug #19932
When creating a new yum repository checksum list is empty and without a default value
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1455573
Description of problem:
When creating a new yum repository checksum list is empty
- candlepin-2.0.30-1.el7.noarch
- candlepin-selinux-2.0.30-1.el7.noarch
- foreman-1.15.0-0.1.RC2.el7sat.noarch
- foreman-compute-1.15.0-0.1.RC2.el7sat.noarch
- foreman-debug-1.15.0-0.1.RC2.el7sat.noarch
- foreman-ec2-1.15.0-0.1.RC2.el7sat.noarch
- foreman-gce-1.15.0-0.1.RC2.el7sat.noarch
- foreman-installer-1.15.0-0.develop.201703100324gitb570b53.el7sat.noarch
- foreman-installer-katello-3.5.0-1.nightly.201703312206git730de81.el7sat.noarch
- foreman-libvirt-1.15.0-0.1.RC2.el7sat.noarch
- foreman-openstack-1.15.0-0.1.RC2.el7sat.noarch
- foreman-ovirt-1.15.0-0.1.RC2.el7sat.noarch
- foreman-postgresql-1.15.0-0.1.RC2.el7sat.noarch
- foreman-proxy-1.15.0-0.1.RC2.el7sat.noarch
- foreman-rackspace-1.15.0-0.1.RC2.el7sat.noarch
- foreman-selinux-1.15.0-0.1.RC2.el7sat.noarch
- foreman-vmware-1.15.0-0.1.RC2.el7sat.noarch
- katello-3.4.0-1.rc2.el7sat.noarch
- katello-ca-consumer-sat-r220-02.lab.eng.rdu2.redhat.com-1.0-1.noarch
- katello-certs-tools-2.4.0-1.el7sat.noarch
- katello-client-bootstrap-1.3.0-1.el7sat.noarch
- katello-common-3.4.0-1.rc2.el7sat.noarch
- katello-debug-3.4.0-1.rc2.el7sat.noarch
- katello-default-ca-1.0-1.noarch
- katello-installer-base-3.5.0-1.nightly.201703312206git730de81.el7sat.noarch
- katello-selinux-3.0.2-1.el7sat.noarch
- katello-server-ca-1.0-1.noarch
- katello-service-3.4.0-1.rc2.el7sat.noarch
- openldap-2.4.40-13.el7.x86_64
- pulp-client-1.0-1.noarch
- pulp-docker-plugins-2.3.0-1.git.0.02c948c.el7sat.noarch
- pulp-katello-1.0.2-1.el7sat.noarch
- pulp-puppet-plugins-2.12.1-1.git.0.1aeb10f.el7sat.noarch
- pulp-puppet-tools-2.12.1-1.git.0.1aeb10f.el7sat.noarch
- pulp-rpm-plugins-2.12.1-1.el7sat.noarch
- pulp-selinux-2.12.1-1.git.0.b41b7ba.el7sat.noarch
- pulp-server-2.12.1-1.git.0.b41b7ba.el7sat.noarch
- python-ldap-2.4.15-2.el7.x86_64
- tfm-rubygem-ldap_fluff-0.4.6-1.el7sat.noarch
- tfm-rubygem-net-ldap-0.15.0-1.el7sat.noarch
How reproducible:
Always
Steps to Reproduce:
1.Goto Content > Products
2. Create a new product
3. Select the created product
4. Press new [New Repository] button
5. Type a valid name in Name Field
6. In Type list select yum
7. additional fields appears
Actual results:
The checksum has no default value and the list is empty
Expected results:
The checksum has a default value "Default" and provide in the list the following options:
Default
sha256
sha1
Additional info:
If saved without value and select the saved repository the "Yum Metadata Checksum" has also an empty value, and trying to edit the field list provided is also empty
Associated revisions
History
#1
Updated by Brad Buckingham about 5 years ago
- Subject changed from When creating a new yum repository checksum list is empty and without a default value to When creating a new yum repository checksum list is empty and without a default value
- Target version set to 196
#2
Updated by The Foreman Bot about 5 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/6810 added
#3
Updated by Eric Helms about 5 years ago
- Legacy Backlogs Release (now unused) set to 258
#4
Updated by Brad Buckingham about 5 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|6e10b6cd7f60bfbfb7c82c5055567f0c91c75cb3.
#5
Updated by Eric Helms about 5 years ago
- Legacy Backlogs Release (now unused) changed from 258 to 267
#6
Updated by Eric Helms about 5 years ago
- Legacy Backlogs Release (now unused) changed from 267 to 258
fixes #19932 - fix repository checksum options
Convert checksums to be a service, similar to download
policy and other types. This change will allow for
repository create/update to offer the user a set
of valid options for the checksum (e.g. Default,
sha256, sha1).