N°2211 DataSynchro : rollback oChange remove in DBUpdate() + added log

Be conservative : this is a fix only release... oChange will be done in the future, it's a work that should be done everywhere in iTop and not only DataSynchro
This commit is contained in:
Pierre Goiffon
2019-05-28 17:15:59 +02:00
parent bada955725
commit ba7e00e130

View File

@@ -2670,7 +2670,7 @@ class SynchroExecution
$aArguments['last_full_load'] = '';
}
$this->m_oStatLog->DBUpdate();
$this->m_oStatLog->DBUpdate($this->m_oChange);
$iStepCount = 0;
do
@@ -2766,7 +2766,7 @@ class SynchroExecution
$bContinue = $this->DoJob3($iMaxChunkSize, $iCurrPos);
break;
}
$this->m_oStatLog->DBUpdate();
$this->m_oStatLog->DBUpdate($this->m_oChange);
self::$m_oCurrentTask = null;
return $bContinue;
}
@@ -2875,6 +2875,7 @@ class SynchroExecution
break;
default:
$this->m_oStatLog->AddTrace("Unknown delete policy : $sDeletePolicy");
break;
}
}