View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002467||JEDI VCL||00 JVCL Components||public||2005-01-04 09:00||2005-08-10 04:02|
|Target Version||Fixed in Version||3.10|
|Summary||0002467: possible bug TJvDatabaseCopyAction.CopyRecord in JvDBActions.pas|
|Description|| if Assigned(FBeforeCopyRecord) then|
with DataSet do
// (rom) this suppresses AfterCopyRecord. Is that desired?
if not Allowed then
This code does not always throw an AfterCopyRecord event.
Is this really desired?
Either no BeforeCopyEvent or an AfterCopyEvent with a failure signal would be better.
|Tags||No tags attached.|
I'm not shure. For me it's a point of design.
Both ways are correct. I say, that the developer has to handle everything in the BeforeCopyRecord Event. If he didn't want to continue, than he had to look after this and for me there is no reason to call the AfterCopyRecord event.
And the BeforeCopy-Event mus be called, because only there i got the informations about the "allowed".
||No answers, no decisions, I'm closing the issue.|
|2005-01-04 09:00||robert_marquardt||New Issue|
|2005-01-04 10:56||jfudickar||Note Added: 0006081|
|2005-01-05 03:07||jfudickar||Status||new => assigned|
|2005-01-05 03:07||jfudickar||Assigned To||=> jfudickar|
|2005-01-05 03:08||jfudickar||Status||assigned => feedback|
|2005-08-10 04:02||obones||Status||feedback => resolved|
|2005-08-10 04:02||obones||Resolution||open => fixed|
|2005-08-10 04:02||obones||Note Added: 0007778|