Bug 576148

Summary: [apache] Can't add a Virtual Host Option in the "set" mode
Product: [Other] RHQ Project Reporter: Lukas Krejci <lkrejci>
Component: PluginsAssignee: Filip Drabek <fdrabek>
Status: CLOSED CURRENTRELEASE QA Contact: Corey Welton <cwelton>
Severity: medium Docs Contact:
Priority: low    
Version: 3.0.0CC: fdrabek
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 2.4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-12 16:56:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 577313    

Description Lukas Krejci 2010-03-23 12:04:32 UTC
Description of problem:

Cannot create an option with mode "set" for an Apache virtual host.

How reproducible:

Always

Steps to Reproduce:
1. Edit an existing virtual host configuration
2. Click "Add New" to add a new Option
3. Leave the Mode as "Set", select any type of "Option"
4. Try to save the form
5. Observe the error message stating that "For property "Mode", a value is required."
  
Actual results:

Cannot create an option in the "Set" mode.

Expected results:

The above should be possible.

Additional info:

This is most probably caused by the value of the modes. "Set" is modelled as an empty string in the RHQ configuration (because it is modelled like that in the httpd.conf), which confuses the form validation.

Comment 1 Filip Drabek 2010-04-22 11:05:39 UTC
commit f3aca43b79d01ee27555d9426ec31f7a1631f8db

Comment 2 Corey Welton 2010-04-30 22:13:32 UTC
QA Verified, user can use "Set" in conjunction with a server option.

Comment 3 Corey Welton 2010-08-12 16:56:28 UTC
Mass-closure of verified bugs against JON.