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

Bug 362830

Summary: Decimal value isn't correctly converted to string when passed thru decimal parameter then any parameter
Product: z_Archived Reporter: Kathy Carroll <carrollk>
Component: EDTAssignee: Project Inbox <edt.javascriptgen-inbox>
Status: CLOSED FIXED QA Contact:
Severity: critical    
Priority: P3 CC: hjiyong, jqian
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Eunit file
none
fix lasher: iplog+

Description Kathy Carroll CLA 2011-11-03 14:34:27 EDT
Created attachment 206426 [details]
Eunit file

Decimal always gets converted to an empty string.

decimal values are sent into a function with decimal parameter types which in turn are passed to a function with parameters declared as any.  The last function needs to convert these decimals to a string and it always results in an empty string.

I've attached the an EUNIT testcase that isn't part of the test project because you need to do a visual to make sure the report is being created correctly.  myAssertDecimalEqualBad doesn't work as desired.
Comment 1 Huang Ji Yong CLA 2011-11-04 03:41:05 EDT
Created attachment 206447 [details]
fix
Comment 2 Huang Ji Yong CLA 2011-11-04 03:43:49 EDT
Change to make the boxing for the function parameter of decimal type to be done in runtime.
Comment 3 Kathy Carroll CLA 2011-11-07 06:59:30 EST
Verified with 201111062101 and closed