N°824 - Allow OQL JOIN on object ON EventNotification (#642)

This commit is contained in:
Anne-Catherine
2024-09-19 08:58:27 +02:00
committed by GitHub
parent 5e6fb33ed7
commit f3a6b064c8
21 changed files with 113 additions and 23 deletions

View File

@@ -566,6 +566,7 @@ class ActionEmail extends ActionNotification
$oLog->Set('trigger_id', $oTrigger->GetKey());
$oLog->Set('action_id', $this->GetKey());
$oLog->Set('object_id', $aContextArgs['this->object()']->GetKey());
$oLog->Set('object_class', get_class($aContextArgs['this->object()']));
// Must be inserted now so that it gets a valid id that will make the link
// between an eventual asynchronous task (queued) and the log
$oLog->DBInsertNoReload();