Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 360668

Summary: [RBD] Dojo HorizontalSlider: The "undefined" labels are not friendly for user if maximum value is less than minimum value
Product: z_Archived Reporter: Thomas Wu <wxwu>
Component: EDTAssignee: lu lu <lulu>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: hjiyong
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
screenshot none

Description Thomas Wu CLA 2011-10-12 10:08:24 EDT
Build Identifier: 20111011

There is the same issue in RBD8012
The labels of Dojo HorizontalSlider will show as "undefined" if maximum value is less than minimum value. But in fact, user has defined every related values. I suggest add validator for maximun and minium values. Any maxium value is less than or equal to minimum value should be prevent.

Reproducible: Always

Steps to Reproduce:
1.In the property of Dojo HorizontalSlider, set Maximum value as one less than minimum value, for example maximum=10, minimum=20.

Actual results: The labels of Dojo HorizontalSlider will show as "undefined". But it is not the proper reason. I suggest add validator to check whether the maximun value is greater than the minium values.
Comment 1 Thomas Wu CLA 2011-10-12 10:11:23 EDT
Created attachment 205039 [details]
screenshot
Comment 2 Huang Ji Yong CLA 2011-10-13 10:09:07 EDT
Change to enhancement