Consultor Eletrônico



Kbase P122622: Session crashes using a BUFFER parameter for a REFERENCE-ONLY temp-table
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   03/09/2008
Status: Verified

SYMPTOM(s):

Passing buffer parameter for temp-table to a procedure

Temp-table defined as reference-only in called procedure

Temp-table references in called procedure are not bound to a real temp-table

Session crashes

FACT(s) (Environment):

OpenEdge 10.1A
OpenEdge 10.1B
All Supported Operating Systems
OpenEdge Category: Language (4GL/ABL)

CAUSE:

Bug# OE00146645

CAUSE:

Using buffer parameters for a temp-table defined as REFERENCE-ONLY in the called procedure was not intended to work, but this condition was not handled properly when it occurs

FIX:

Upgrade to OpenEdge 10.1C or later release.

This will stop the crash from happening and will instead raise a compiler error:
Cannot use REFERENCE-ONLY buffer <name> as BUFFER parameter. (14303)

The ABL code will still need to be modified to not use buffer parameters for reference-only temp-tables.