Community
Participate
Working Groups
This is major, because it blocks all the timestamp and date test cases for services (> 15 test cases) Try the following RUIhandler handler h1 type RUIhandler{initialUI =[], onConstructionFunction = start, cssFile = "css/b.css", title = "h1"} function start() timestamp1 timestamp("yyyyMMddHHmmss") = "2005/02/15-12:30:11"; syslib.writeStdOut ("time is:" + timestamp1); date1 date = "2005/02/15"; syslib.writeStdOut ("date is:" + date1); end end You can see the runtime exception in FF browser. egl.eglx.lang.Constants.$inst is undefined and egl.eglx.lang.Constants.$inst.odbcTimestampFormat is undefined
Created attachment 205034 [details] Additional Variations Attached related eunit test variations. Run RunAllTests_RUI
PLEASE note that, according to both Matt and the documentation for EDate.egl, part of the testcase is incorrect: date1 date = "2005/02/15"; String to date conversions must always start with month followed by day followed by year.
Fixed
using 20111018's latest code from cvs (a development environment) the same code gives egl.eglx.lang.TypeCastException is not a constructor error in the FF external browser
oops, I need to change the date to be MM/dd/yyyy format verified in 201110180901's build