diff --git a/core/modules/migrate/src/Entity/Migration.php b/core/modules/migrate/src/Entity/Migration.php index 78a0605..7af0866 100644 --- a/core/modules/migrate/src/Entity/Migration.php +++ b/core/modules/migrate/src/Entity/Migration.php @@ -409,6 +409,8 @@ public function setProcess(array $process) { */ public function setProcessOfProperty($field_name, $process) { $this->process[$field_name] = $process; + $this->process = $this->getProcessNormalized($this->process); + return $this; } /** @@ -419,6 +421,7 @@ public function mergeProcessOfProperty($field_name, array $process) { //otherwise simply set it. if (isset($this->process[$field_name])) { $this->process = NestedArray::mergeDeepArray([$this->process, [$field_name => $process]], TRUE); + $this->process = $this->getProcessNormalized($this->process); } else { $this->setProcessOfProperty($field_name, $process);