Consultor Eletrônico



Kbase P10189: Sections of code are truncated by AppBuilder
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/5/2007
Status: Verified

FACT(s) (Environment):

All Supported Operating Systems
Progress 9.1D
Progress 9.1E
OpenEdge 10.x

SYMPTOM(s):

Sections code of the adm-create-objects procedure are truncated by AppBuilder

REPLACE/CONCAT may not result in data > 32000 bytes. (11678)

Size of original adm-create-objects procedure is around 30 Kbytes.

Many SmartObjects and many pages in a single SmartWindow

CAUSE:

The AppBuilder is written in 4GL itself, therefore the adm-create-objects procedure is built up in a variable. With SmartObjects and with necessary additional information (such as &ANALYSE SUSPEND... and 4GL preprocessor definitions) the content of this variable may reach the 32K limit, hence the 11678 error

FIX:

Split the SmartWindow so it can manage less smart objects, or use intermediate SmartFrames so createObject of the SmartWindow will be smaller.