Bug
Auto commit off: dependency computed incorrectly
Issue description
Currently the dependency is computed soley based on the persisted state in MySQL. This can lead to errors since uncommited changes in memory affect this as well. Again we have to consider two topic types which are connected by an association type which makes instances codependent.
Developer comments
[%$order = Tobject::get("si:someorder");
$invoice = $order->get_invoice();
$new_invoice = Tobject::make_invoice();
$new_invoice->set_order($order);
$invoice->delete(); %]
The bug causes %$order% to be deleted together with the invoice, since Topincs does not consider the uncommited assoication to %$new_invoice%.
|
|
We are sorry
This page cannot be displayed in your browser. Use Firefox, Opera, Safari, or Chrome instead.