Kbase P97580: GPF during syntax check of a 4GL program
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  3/19/2009 |
|
Status: Unverified
FACT(s) (Environment):
Progress 9.1x
SYMPTOM(s):
GPF during syntax check of a 4GL program
Stack trace from _progres reads:
smbufcpy
smstmt
smsem
crpop
CAUSE:
Bug# 20021205-020
CAUSE:
This is a known issue.
The 4GL program contains a BUFFER-COPY statement with an ASSIGN clause and a function in the left-hand side of the assignment.
The following piece of code gives an example of what triggers the problem; you need to be connected to a copy of the sports2000 database:
DEFINE BUFFER bCustomer FOR Customer.
FIND LAST Customer.
CREATE bCustomer.
BUFFER-COPY Customer TO bCustomer
ASSIGN ENTRY(2,bCustomer.postalCode) = "01".
FIX:
The problem is fixed in OpenEdge 10.0A and above.
As a workaround, split the BUFFER-COPY so that the assignment is performed in a separate ASSIGN statement:
BUFFER-COPY Customer EXCEPT postalCode TO bCustomer.
ASSIGN ENTRY(2,bCustomer.postalCode) = "01".