Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 349787 - SWING: Date Field does not show its value
Summary: SWING: Date Field does not show its value
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Scout (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-20 04:04 EDT by Stefan Götschi CLA
Modified: 2021-08-19 11:13 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Götschi CLA 2011-06-20 04:04:36 EDT
PROBLEM DESCRIPTION:
- Assume a Date Field.
- Set the error status to WARNING.
- The preset value is not visible anymore.

EVALUATION:
The bug arises from a bugfix:
Entering some arbitrary (large) number into a date field resulted in the current date being set in the field and an error status set to ERROR.

The bugfix now only allows displaying user input in a field with an errorstatus but no preset values.

PROPOSED SOLUTION:
- We only apply the above bugfix in case the error status is set to ERROR. Don't apply the bugfix if the error status is only WARNING.
Comment 1 Ivan Motsch CLA 2011-06-28 04:59:41 EDT
Reverted reference bsi ticket 100004 (which causes that bug).
Removed obsolete (legacy) setDisplayText on model in case parsing failed.
That is the original cause of 100004 and also solves this ticket.
Comment 2 Matthias Zimmermann CLA 2011-10-10 12:41:37 EDT
shipped with scout 3.7.1