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

Bug 363015

Summary: Timestamp assign to string, back to timestamp, has incorrect value.
Product: z_Archived Reporter: fahua jin <jinfahua>
Component: EDTAssignee: Huang Ji Yong <hjiyong>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: hjiyong, huozz, jspadea, svihovec
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
The sample EGL file. none

Description fahua jin CLA 2011-11-07 02:28:01 EST
Build Identifier: 0.7.0.v201111060901

Open the attached H8.egl with VE, you can find that the value of ts_textBox is not set correctly. While another TimeTextBox value is set correctly. The only difference between two widget is that the ts_textBox has relationship with MVC.

I'm not sure if this is a problem of using MVC (code generated by EGL variable wizard), or it's a problem of MVC runtime, or it's a problem of JSGen. I add all of the related people to the defect copy list.

Reproducible: Always
Comment 1 fahua jin CLA 2011-11-07 02:28:31 EST
Created attachment 206505 [details]
The sample EGL file.
Comment 2 Justin Spadea CLA 2011-11-07 11:41:01 EST
This is a JS runtime bug. The following has the same problem:

ts timestamp("HHmmss");
s string = ts;
ts = s;
syslib.writeStdout(ts); // prints incorrect date
Comment 3 Huang Ji Yong CLA 2011-11-14 02:21:36 EST
Resolved indirectly, verified by Pengfei
Comment 4 fahua jin CLA 2011-11-16 22:24:07 EST
Verified in 0.7.0.v201111160901.