Bug #10599
[Regression] undoLeaveTopLevel() generated during conversion, but it doesn't exist
Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:
0%
billable:
No
vendor_id:
GCD
case_num:
version_reported:
version_resolved:
reviewer:
production:
No
env_name:
topics:
Related issues
History
#1 Updated by Dănuț Filimon 10 months ago
The test case is:
define temp-table tt1 field f1 as integer.
transactionBlock:
do transaction on error undo, leave:
create tt1.
catch err as Progress.Lang.AppError:
undo, leave transactionBlock.
end.
end.
and the converted code can't be compiled because the undoLeaveTopLevel() method doesn't exist:
compile:
[javac] Compiling 32 source files to /home/ddf/gcd/branches/hotel_gui/build/classes
[javac] Compiling 3 source files to /home/ddf/gcd/branches/hotel_gui/build/classes
[javac] /home/ddf/gcd/branches/hotel_gui/src/com/goldencode/hotel/Start.java:44: error: cannot find symbol
[javac] undoLeaveTopLevel("transactionBlock");
[javac] ^
[javac] symbol: method undoLeaveTopLevel(String)
[javac] location: class Start
[javac] 1 error
BUILD FAILED
/home/ddf/gcd/branches/hotel_gui/build.xml:483: Compile failed; see the compiler error output for details.
This regression was introduced in trunk/15867.#4 Updated by Dănuț Filimon 10 months ago
- File block_properties.patch
added
I discussed with Eduard and he said that the issues should be fixed by 4602a. He also provided a patch I could use for the moment.
#5 Updated by Dănuț Filimon 10 months ago
- Related to Bug #4602: fixes for OO 4GL and structured error handling added