Bug 1015987 - Check the entered parameter values on typing
Summary: Check the entered parameter values on typing
Keywords:
Status: NEW
Alias: None
Product: RHQ Project
Classification: Other
Component: Core Server
Version: 4.9
Hardware: All
OS: All
unspecified
low vote
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-07 08:23 UTC by Ilya Maleev
Modified: 2022-03-31 04:28 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Ilya Maleev 2013-10-07 08:23:07 UTC
Description of problem:
When modifying some parameter value in any resource Configuration, it would be good to check it on typing. Currently it's done only when switching to another control (another parameter edit field). Depending on the entered parameter correctness the Save button should be also enabled or disabled as soon as the new value entered.

Steps to Reproduce:
1. Select any resource which has at least one mandatory text/integer parameter in Configuration.
2. Clear the mandatory parameter value.
3. Switch to another control
4. Enter correct value. Don't switch to another control or click Save.
5. Switch to another control

Expected results:
1. All required values are filled. The Save button is disabled.
2. Incorrect value has been discovered and rejected immediately. Red icon with exclamation sign appeared near the edit field. The Save button is still disabled.
3. Nothing changed - the value has already been checked earlier.
4. Correct value has been discovered and accepted immediately. Red icon with exclamation sign disappeared. The Save button became enabled.
5. Nothing changed - the value has already been checked earlier.

Actual results:
1. OK
2. NOK. The value hasn't been checked. There is no red exclamation sign or any other indication.
3. NOK. The red icon has appeared. Also red message about incorrect value appeared at the top of window. But the Save button became enabled.
4. NOK. The value hasn't been checked. Despite the value is correct, there is still red exclamation sign.
5. The value has been checked. All error indications disappeared. The Save button is still enabled.


The requested behavior (on-typing value check) is already implemented in other places. E.g., for metrics collection interval values and many others.


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