| Summary: | Cannot instantiate the type EAny | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | pf yu <pfyu> |
| Component: | EDT | Assignee: | Project Inbox <edt.javagen-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P1 | CC: | jeffdouglas, jqian, pfyu, svihovec, tww |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
pf yu
We need to discuss this one with Tim. Here's the record.
record clnFlexRecord
aString string;
anInt int;
//anAny any;
anAny any = "";
aDecimal decimal(9, 2);
ts timeStamp;
end
The problem is in the method we generate to implement the "set record empty" statement. In RBD, when an Any field is set empty, we make it null. But this is EDT and that Any field isn't nullable. What should we do?
changing severity to what it should be this seems to have been fixed by another defect. Please retest. I Verified in build 20111020, the problem still exists. There is no clnFlexRecord testcase that I can find. Please tell me what testcase you are trying to use. I used build 20111023. In the directory "generatedJava", the problem exists in line 51 of fvt.primitives.clnFlexRecord.java. For the EGL part, it's a record which is located in fvt.primitives.TestDictionaryLib.egl This issue still exists in: fvt.functioninvocation.TestFuncInvocation09Lib.java fvt.primitives.clnFlexRecord.java Please fix it, thanks. fixed Verified in build 20111108, it works fine. |