TResolverResponse.rrAbort ingnored on OnUpdateError event handler (TCustomBufDataSet.ApplyUpdates)
Original Reporter info from Mantis: eara
-
Reporter name: Stratis Aravias
Original Reporter info from Mantis: eara
- Reporter name: Stratis Aravias
Description:
documentation (http://www.freepascal.org/docs-html/fcl/db/tresolverresponse.html)
says "rrAbort, Abor the whole update process"
but taking a closer look in source code near 2124 line this is not happening.
When eventhandler is called then rrAbort is just ignored.
rrAbort is setted only in line 2120
if failedcount>word(MaxErrors) Then Response:=rrAbort...
and raises an exception only if OnUpdateError event handler is not defined.
Is this normal behaviour (then correct the documenation plz),
or bug ?
Mantis conversion info:
- Mantis ID: 25885
- OS: Windows
- OS Build: 7
- Build: 44303
- Platform: Lazarus 1.2.0/FPC 2.6.2
- Version: 2.6.2
- Fixed in version: 3.0.0
- Fixed in revision: 1113 (#cf7f3239)
- Target version: 3.0.0