Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358197 - EDT should report error when trying to convert date to bigint
Summary: EDT should report error when trying to convert date to bigint
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-20 04:21 EDT by Huo Zhen Zhong CLA
Modified: 2017-02-23 14:14 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Huo Zhen Zhong CLA 2011-09-20 04:21:03 EDT
Build Identifier: 2011-09-20

a_bigint = a_date;

Reproducible: Always
Comment 1 Huo Zhen Zhong CLA 2011-09-20 04:39:25 EDT
The same problem for below cases:

a_bigint bigint;
a_boolean boolean;
a_date date;
a_decimal decimal?;
a_decimal2 decimal(10);
a_float float;
a_int int;
a_number number?;
a_smallfloat smallfloat;
a_smallint smallint;
a_string string;


a_boolean = a_decimal;
a_boolean = a_decimal2;
a_boolean = a_number;

a_date = a_bigint;
a_date = a_decimal;
a_date = a_decimal2;
a_date = a_float;
a_date = a_int;
a_date = a_number;
a_date = a_smallfloat;
a_date = a_smallint;
a_date = a_string;
a_date = a_smallint;

a_decimal = a_boolean;
a_decimal = a_date;

a_decimal2 = a_boolean;
a_decimal2 = a_date;

a_float = a_date;

a_int = a_date;

a_number = a_boolean;
a_number = a_date;

a_smallfloat = a_date;

a_smallint = a_date;
Comment 2 Paul Harmon CLA 2011-10-18 14:50:11 EDT
This has been corrected in validation (TypeCompatibilityUtil)
Comment 3 Huo Zhen Zhong CLA 2011-10-19 23:32:42 EDT
verified in 0.7.0.v20111019