Bug #28386
closedhammer settings content_default_http_proxy does not have validation for provided values
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1777730
Description of problem:
hammer setting content_default_http_proxy does not have validation for provided values
Version-Release number of selected component (if applicable):
@Satellite 6.7.0 snap 3,0
How reproducible:
Always
Steps to Reproduce:
1. Set settings as below:
[root@hp-dl180-04 ~]# hammer settings set --name content_default_http_proxy --value xyz
Setting [content_default_http_proxy] updated to [xyz].
[root@hp-dl180-04 ~]# hammer settings list |grep -i content_default_http_proxy
content_default_http_proxy | Default http proxy | xyz | Default HTTP Proxy for syncing content
[root@hp-dl180-04 ~]#
2. No check on UI for same setting , the value filed shows empty.
Administer => Settings => Content => 'Default HTTP Proxy'
Actual results:
Any value could pass with '--value'
Expected results:
It should only set the setting if provided value is correct (i.e. already created proxy name)
Additional info:
Updated by Oleh Fedorenko about 5 years ago
- Category changed from API to 98
- Assignee set to Oleh Fedorenko
- Difficulty set to easy
- Triaged changed from No to Yes
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/8456 added
Updated by The Foreman Bot about 5 years ago
- Fixed in Releases Katello 3.15.0 added
Updated by Oleh Fedorenko about 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|23db0e06ea24eaac541771f3bd5ed471470a69b7.
Updated by Jonathon Turel almost 5 years ago
- Target version set to Katello 3.15.0