Icon View Incident Report

Minor Minor
Reported By: Ulrich Doewich
Reported On: 7/22/2009
For: Version 2.02 Build 15
# 3047 External Module Parameters Not Working Properly When Constant Passed Instead of Variable

I may have found a bug with passing parameters to an external module.

I created a job that is supposed to call an EM procedure and pass a result code as the parameter. If I pass the result code directly, I get an AV when the EM tries to access the parameter.

PROCEDURE "ProcEMUpdPrimary" (IN "ParResCode" INTEGER)
EXTERNAL NAME "RCServer_EM"

the call:

CALL ProcEMUpdPrimary(-1);

and this is the access:

ResCode := Params.FindParam('ParResCode').AsInteger;

If I change the JOB to pass a variable instead, everything works fine:

DECLARE ResCode INT DEFAULT -1;
...
CALL ProcEMUpdPrimary(ResCode);



Resolution Resolution
Fixed Problem on 7/24/2009 in version 2.03 build 1


Products Affected Products Affected
ElevateDB Additional Software and Utilities
ElevateDB DAC Client-Server
ElevateDB DAC Client-Server with Source
ElevateDB DAC Standard
ElevateDB DAC Standard with Source
ElevateDB DAC Trial
ElevateDB LCL Standard with Source
ElevateDB VCL Client-Server
ElevateDB VCL Client-Server with Source
ElevateDB VCL Standard
ElevateDB VCL Standard with Source
ElevateDB VCL Trial

Image