Actions
Bug #37072
closedPackage update chooses latest version instead of input version
Description
For some RPMs, notably crypto-policies, when upgrading via the host details page, the chosen upgrade version is ignored and it gets the latest version.
The chosen version does make it into the "Selected update versions", but the rendered template ends up with the latest version.
It's likely a bug with `def package_names_for_job_template`.
To reproduce:
1) Create a RHEL 9 machine with crypto-policies-20221215-1.git9a18988.el9.noarch
2) Sync RHEL 9 appstream + baseos
3) Try to upgrade to crypto-policies-scripts-20221215-1.git9a18988.el9_2.1.noarch via the dropdown on the right side of the upgradable RPM
Attached screenshot shows the issue.
Unsure how many versions this affects. Tested on Katello 4.12-devel
Files
Actions