| View previous topic :: View next topic |
| Author |
Message |
Mehrdad Guest
|
Posted: Sun Mar 25, 2007 5:11 pm Post subject: OnReconcile called in a LOOP by Midas! |
|
|
In a master-detail-subdetail datasnap solution, when deleting a detail
record causes an error from RDBMS, we may encounter some extrange behaviour
and possible AVs, Mismatch in datapacket, Operation not applicable or
Reconcile call back called in a loop.
The problem happens when you delete an existing subdetail and then delete
the detail of that subdetail and applyupdates - if there is an error packet
(say the detail is not deletable) we will be in trouble.
I am having this problem in D6.02 but it is the same in D7.01... |
|
| Back to top |
|
 |
Panayotis Papapostolou Guest
|
Posted: Wed Mar 28, 2007 7:47 pm Post subject: Re: OnReconcile called in a LOOP by Midas! |
|
|
Mehrdad wrote:
| Quote: | In a master-detail-subdetail datasnap solution, when deleting a detail
record causes an error from RDBMS, we may encounter some extrange behaviour
and possible AVs, Mismatch in datapacket, Operation not applicable or
Reconcile call back called in a loop.
The problem happens when you delete an existing subdetail and then delete
the detail of that subdetail and applyupdates - if there is an error packet
(say the detail is not deletable) we will be in trouble.
I am having this problem in D6.02 but it is the same in D7.01...
|
Consider adding Cascaded Deletes to the provider options. |
|
| Back to top |
|
 |
Mehrdad Guest
|
Posted: Thu Mar 29, 2007 5:30 pm Post subject: Re: OnReconcile called in a LOOP by Midas! |
|
|
It is there...
But user may delete the subdetail by hand and then delete the detail record
(although cascade delete is enabled) and this is where the problem comes
out...
thanks |
|
| Back to top |
|
 |
|