Bug 847301 - The value of default attribute from plugin descriptor is visible in UI
Summary: The value of default attribute from plugin descriptor is visible in UI
Keywords:
Status: NEW
Alias: None
Product: RHQ Project
Classification: Other
Component: Core UI
Version: 4.4
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-10 13:50 UTC by Jirka Kremser
Modified: 2022-03-31 04:28 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)
Example of pre-filled property (1.52 MB, image/png)
2012-09-11 15:49 UTC, Jirka Kremser
no flags Details

Description Jirka Kremser 2012-08-10 13:50:23 UTC
Description of problem:
If some simple property has attribute default with pre-filled value, this value is visible in UI. If the property is required, then the user won't be notified if he doesn't change it.

Version-Release number of selected component (if applicable):
RHQ 4.5.0-SNAPSHOT 

How reproducible:
always

Steps to Reproduce:
1. run (apache) httpd on some monitored platform
2. add new virtual host (via child resources)
3. the "DocumentRoot" property is set to "THIS IS AUTO-DISCOVERED"
4. click save
  
Actual results:
virtual host is not created, because "DocumentRoot" doesn't point to a valid path

Expected results:
warning, form validation, etc.

Additional info:

Comment 1 Jirka Kremser 2012-09-11 15:49:39 UTC
Created attachment 611837 [details]
Example of pre-filled property


Note You need to log in before you can comment on or make changes to this bug.