Kbase P124777: ABL: SAVE-ROW-CHANGES( ) method does not set ERROR-STRING attribute on the DELETE of a locked record
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  8/5/2008 |
|
Status: Unverified
SYMPTOM(s):
ABL: SAVE-ROW-CHANGES( ) method does not set ERROR-STRING attribute on the DELETE of a locked record.
Table buffer ERROR-STRING attribute is not set by the SAVE-ROW-CHANGES( ) method when trying to delete a locked record.
The ERROR-STRING attribute is not set on trying to delete a locked record using the SAVE-ROW-CHANGES( ) method.
FACT(s) (Environment):
All Supported Operating Systems
OpenEdge 10.1x
CAUSE:
This is expected behavior. The ProDataSet Documentation states: There is also an ERROR-STRING character attribute on each ProDataSet temp-table and on each temp-table row. This attribute is never set by Progress because it is not always clear what error message (among several, for example) to store into the attribute.
FIX:
Store a value into the ERROR-STRING attribute of the Temp-table object handle or the Buffer object handle to return a useful message to the caller. Remember that setting the Temp-table object handle or the Buffer object handle ERROR-STRING attribute is independent of setting the ERROR condition.