Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 289196 - DateText should not show an ErrorMarker if no value was entered
Summary: DateText should not show an ErrorMarker if no value was entered
Status: RESOLVED FIXED
Alias: None
Product: Riena
Classification: RT
Component: ridget (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 1.2.0.M2   Edit
Assignee: Elias Volanakis CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-11 07:50 EDT by Steffen Kriese CLA
Modified: 2009-09-15 18:46 EDT (History)
0 users

See Also:


Attachments
Patch + TestCase (6.28 KB, patch)
2009-09-11 07:57 EDT, Steffen Kriese CLA
elias: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Steffen Kriese CLA 2009-09-11 07:50:34 EDT
If a DateTextRidget gets bound to a null-Date or an empty String gets entered, an ErrorMarker is shown. This is not feasible, because a DateText-Widget would be mandatory and could not represent an empty Date.
Comment 1 Steffen Kriese CLA 2009-09-11 07:57:35 EDT
Created attachment 146939 [details]
Patch + TestCase

Removes the ErrorMarker when no Date was supplied. Also makes it possible to propagate a null-Date to the model. At the moment if the user deletes the given Date in a DateTextWidget, the bound value in the model will not be set to null.
Comment 2 Elias Volanakis CLA 2009-09-15 18:46:07 EDT
Thanks Steffen!

Commited to HEAD.