Red Hat Bugzilla – Bug 536377
Proxy should have an Enable/Disable override for proxy settings.
Last modified: 2014-05-02 13:53:07 EDT
Steps to repro:
1. Login to JON
2. Content Sources > JBoss Patch Content Source > Edit
3. Expand the Proxy Settings windowshade
4. Begin to make various changes to the fields; click the "Unset" checkbox next to the fields and note that the text disappears.
5. Pretend for a second that you're an end user and temporarily want to disable proxy on said channel.
User would be able to check an overriding field akin to :
Proxy (*) Enabled ( ) Disabled
...which would enable/gray out these other proxy field values, preserving the settings that are already in there.
It is cumbersome if user wants to enable/disable proxy -- for example, network troubleshooting, etc. -- since the proxy values are wiped out each time.
This is not too different from the way that Firefox and IE handle their proxy usage -- if proxy is disabled, the values remain in the UI and config files, but are unused/inaccessible.
i'm accepting this jira, although the request may be a bit more work than we're realistically willing to do (for 1.1). presently the generic config UI component was written as unset being a UI-only concept. if some property is unset, the null value is persisted for that property. if we wanted to support this, it would require a domain model change so that properties can store values that we would *want* to use, but don't actually use. this way, when the unset control is clicked in the UI, it would be possible for the config UI component to keep those values (but gray the input out / make the input read-only), and then persist the property values.
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-732