N°8365 - Portal: impact analysis and silo, Ticket cannot be created due to CI not visible

This commit is contained in:
bdalsass
2025-07-09 07:36:40 +02:00
parent 0e5bece5b6
commit 41194ce9ab

View File

@@ -256,6 +256,10 @@
<code><![CDATA[
public function OnBeforeWriteTicket(Combodo\iTop\Service\Events\EventData $oEventData)
{
// do not update impacted items from portal
if(ContextTag::Check(ContextTag::TAG_PORTAL)){
return;
}
$aChanges = $this->ListChanges();
if ($this->IsNew() || array_key_exists('functionalcis_list', $aChanges) || array_key_exists('contacts_list', $aChanges)) {
$this->UpdateImpactedItems();