Details
Description
Is transationional is in civicrm_api() in 4.4., but it was a little wonky (ie you could opt-in but never opt-out, and it wasn't prefixed with "options"). Since it turns out the post process hook rolls back this is really important to be able to turn off.
Tim suggests : To patch 4.5's TransactionSubscriber, we could insert something like this:
---------------------
public function isTransactional($apiProvider, $apiRequest) {
if (isset($apiRequest['params']['is_transactional']))
return strtolower($apiRequest['action']) == 'create' || strtolower($apiRequest['action']) == 'delete' || strtolower($apiRequest['action']) == 'submit';
}
Attachments
1.
|
Port is_transactional changes to 4.5 | Done/Fixed | Tim Otten |
|