Skip to content

Commit af40def

Browse files
committed
If no custom entity attributes exist then return without processing
1 parent 46c1d11 commit af40def

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Migration/Step/Eav/Data.php

+3
Original file line numberDiff line numberDiff line change
@@ -479,6 +479,9 @@ private function migrateCustomEntityAttributes()
479479
);
480480
$recordsToSave = $destinationDocument->getRecords();
481481
$customAttributeIds = $this->modelData->getCustomAttributeIds();
482+
if (empty($customAttributeIds)) {
483+
return;
484+
}
482485
$customEntityAttributes = $this->source->getRecords(
483486
$sourceDocName,
484487
0,

0 commit comments

Comments
 (0)