Bug #11876
closedRegression with enabling Satellite Tools repository found while using upstream community build
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1264192
Description of problem:
While using the upstream (community) build to test a few issues, I noticed that enabling the "Red Hat Satellite Tools 6.1 for RHEL 7 Server RPMs x86_64" repo set using the web ui failed with the following error:
["releasever"] cannot be specified for Red Hat Satellite Tools 6.1 (for RHEL 7 Server) (RPMs) as that information is not substituable in /content/dist/rhel/server/7/7Server/$basearch/sat-tools/6.1/os
Partha has narrowed down the cause which points to the following commit:
https://github.com/Katello/katello/commit/70f91b26dc04765f3b9c9cd14d12996ddace79ec
I'd like to ask that the commit mentioned above either be reverted or corrected, as it seems that the UI is passing a releasever = "" parameter and it shouldn't.
Version-Release number of selected component (if applicable):
Nightly (community) build
How reproducible:
Steps to Reproduce:
1. Enable the "Red Hat Satellite Tools 6.1 for RHEL 7 Server RPMs x86_64" repo set using the web ui
2.
3.
Actual results:
Error is displayed in the ui
Expected results:
Additional info: