Bug
Exception during POST service might cause invalid instances
Issue description
If a services creates a tobject which in turn is associated with some frozen topic, the exception terminates the service and leaves possibly invalid data. In such a case it would be good if there is an automatic rollback.
Developer comments
Example POST service code:
[%$order = $p->get("order");
Tobject::make_claim()
->set_order($order);
// $order is frozen and ignore_frozen was not called on order,
// so there is an invalid claim now.%]
|
Work sessions2
Start |
2019-08-14T12:23:56
|
End |
2019-08-14T13:27:43
|
Participant |
Robert Cerny
|
Start |
2019-08-14T18:50:53
|
End |
2019-08-14T19:50:58
|
Participant |
Robert Cerny
|
|
We are sorry
This page cannot be displayed in your browser. Use Firefox, Opera, Safari, or Chrome instead.