Community
Participate
Working Groups
Build Identifier: 0.7.0.v201110100901 In an RUI project (should have reference to RUI & Dojo widget library), import the attached H2.egl, you will see the exception when preview it in the external browser - egl.eglx.lang.TypeCastException is not a constructor. The data grid is a very widely used widgets. I set the severity to critical, it should be resolved as soon as possible. Reproducible: Always
Created attachment 204923 [details] The sample EGL file.
As far as I can tell, it is not possible to assign a record[] to an any[] in JavaScript: recordArr recordName[] = new recordName[]; record1 recordName = new recordName; record1.field1 = "aaaa"; record1.field2 = "aaaa"; recordArr.appendElement(record1); var1 any[] = recordArr as any[]; This gives the same exception, but does not involve the usage of DataGrid. It does not seem that there is a workaround, so I am setting this to Blocker, since it means that DataGrid is unusable.
Created attachment 204983 [details] A temporary patch, need scott's review Hi Scott, I commit the temporary fix to get over this issue. The change only affects ArrayType conversion to any ArrayType, I guess the fix won't affect other parts. You may want to review it and make some changes later when you're back from vacation. Thanks.
Reviewed the fix with Ji Yong...looks good.
Reviewed by Scott.
Verified in 0.7.0.v201110180903