Kbase P130414: Possible field corruption due to ASSIGN statement updating field data for unmodified EDITOR
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  16/10/2008 |
|
Status: Unverified
FACT(s) (Environment):
Progress 9.x
OpenEdge 10.x
Windows
Field widget is EDITOR
EDITOR widget is not modified
Record field gets overwritten with the unknown value (?) if the EDITOR is hidden
ASSIGN statement updates field data for unmodified EDITOR
CAUSE:
Bug# OE00165299
CAUSE:
For the EDITOR widget the ASSIGN statement moves data from the widget (SCREEN-VALUE) to the buffer always, not only if MODIFIED is set to Yes. This may cause corruption in the database: if the EDITOR for a field is HIDDEN when the field is loaded, and then the ASSIGN statement is used, incorrect data will be propagated to the buffer.
FIX:
Upgrade to OpenEdge 10.1C01 or later.
As a workaround:
- If the EDITOR on screen displays the right value for the field, then no special fix is needed. The record field will be overwritten with its own value.
- However, if the EDITOR is hidden (and its SCREEN-VALUE is not defined), it is necessary to DISPLAY the field before using ASSIGN to avoid causing corruption.