Description of problem: If user provides http url against the error type 401 in 'Document' field in 'Error Document' section, it is saved without any error message. A proper error message should be thrown as a full URL cannot be used in a 401 ErrorDocument directive. Version-Release number of selected component (if applicable): 1.4.0-SNAPSHOT How reproducible: Steps to Reproduce: 1. Login to imanage UI. 2. Navigate to the apache httpd resource. 3. Navigate to the 'Configuration' tab of main server. 4. Click on 'Edit' button. 5. Click on 'Add New' button for 'Error Document' section. 6. Enter '401' in 'HTTP Response Code' field. 7.Enter the http url against the error type 401 in 'Document' field. (Ex: http://www.abc.com/pqr.html) 8.Click OK button. 9.Click 'Save' button. Actual results: If user provides http url against the error type 401 in 'Document' field in 'Error Document' section, it is saved without any error message. Expected results: A proper error message should be thrown as a full URL cannot be used in a 401 ErrorDocument directive. Additional info:
Temporarily adding the keyword "SubBug" so we can be sure we have accounted for all the bugs. keyword: new = Tracking + FutureFeature + SubBug
making sure we're not missing any bugs in rhq_triage
Filip First thing to know is what are the valid values for the ErrorDocument and then consider if we can add validation to detect non-valid ones.
As per ErrorDocument directive - Apache can be configured to redirect to an external URL to handle the problem/error. So the test case needs to be updated. Closing as this is not a bug.