Consultor Eletrônico



Kbase P168253: ADM: Setting SmartDataBrowser column AUTO-RESIZE attribute to TRUE at design time may crash client s
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   17/06/2010
Status: Unverified

SYMPTOM(s):

ADM: Setting SmartDataBrowser column AUTO-RESIZE attribute to TRUE at design time may crash client session

Under special circumstances, setting the AUTO-RESIZE attribute some SmartDataBrowsers columns crashes the 4GL/ABL session and generates a protrace file.

Creating a SmartDataObject and a SmartDataBrowser based on the following table definition crashes any session running the SDB if the AUTO-RESIZE attributes of the first and last columns are set to TRUE at design time:

ADD TABLE "myTable"
DUMP-NAME "myTable"
ADD FIELD "aField" OF "myTable" AS date
FORMAT "99/99/99"
INITIAL ?
LABEL "Model Date"
MAX-WIDTH 4
ADD FIELD "bField" OF "myTable" AS date
FORMAT "99/99/9999"
INITIAL ?
LABEL "Date This Dial"
MAX-WIDTH 4
ADD FIELD "cField" OF "myTable" AS decimal
FORMAT "->>,>>9.99"
INITIAL "0"
LABEL "Post WT-1 (kg)"
MAX-WIDTH 17
DECIMALS 2
ADD FIELD "dField" OF "myTable" AS decimal
FORMAT "->>,>>9.99"
INITIAL "0"
LABEL "Pre WT-2 (kg)"
MAX-WIDTH 17
DECIMALS 2
ADD FIELD "eField" OF "myTable" AS integer
FORMAT "->,>>>,>>9"
INITIAL "0"
LABEL "Height (cm)"
MAX-WIDTH 4
ADD FIELD "fField" OF "myTable" AS integer
FORMAT "->,>>>,>>9"
INITIAL "0"
LABEL "Interdial Interval"
MAX-WIDTH 4
ADD FIELD "gField" OF "myTable" AS integer
FORMAT "->,>>>,>>9"
INITIAL "0"
LABEL "Dialysis Duration"
MAX-WIDTH 4
ADD FIELD "hField" OF "myTable" AS integer
FORMAT "->,>>>,>>9"
INITIAL "0"
LABEL "Post BUN (for pcr)"
MAX-WIDTH 4
ADD INDEX "FirstIndex" ON "myTable"
UNIQUE
PRIMARY
INDEX-FIELD "bField" ASCENDING
ADD INDEX "SecondIndex" ON "myTable"
DESCRIPTION "Active index on model date"
INDEX-FIELD "aField" ASCENDING


Progress Stack Trace calls included:
Exception code: C0000005 ACCESS_VIOLATION
Fault address: 103724F6 01:003714F6 C:\Progress\OpenEdge102B\BIN\prow32.dll

ABL Stack Trace calls included:
--> initializeColumnSettings adm2/browser.p (C:\Progress\OpenEdge102B\gui\adm2\browser.r) at line 8267
initializeObject adm2/browser.p (C:\Progress\OpenEdge102B\gui\adm2\browser.r) at line 9576

FACT(s) (Environment):

Windows
OpenEdge 10.2B
OpenEdge 10.2B01

CAUSE:

Bug# OE00198399

FIX:

None at this time. As a workaround, do not set the SmartDataBrowser columns AUTO-RESIZE attribute to TRUE at design but set it in a local initializeObject procedure override by placing code similar to the following after the RUN SUPER statement:

ASSIGN
rowObject.aField:AUTO-RESIZE IN BROWSE br_table = TRUE
rowObject.hField:AUTO-RESIZE IN BROWSE br_table = TRUE.