Skip to content

Commit 13c82ec

Browse files
author
Michael Logvin
committed
MAGETWO-37614: Stabilize story
1 parent 4b5dc48 commit 13c82ec

File tree

1 file changed

+22
-1
lines changed
  • app/code/Magento/CustomerImportExport/Model/Import

1 file changed

+22
-1
lines changed

app/code/Magento/CustomerImportExport/Model/Import/Customer.php

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,11 +209,32 @@ protected function _saveCustomerEntities(array $entitiesToCreate, array $entitie
209209
$this->_connection->insertMultiple($this->_entityTable, $entitiesToCreate);
210210
}
211211

212+
$customerFields = [
213+
'group_id',
214+
'store_id',
215+
'updated_at',
216+
'created_at',
217+
'created_in',
218+
'prefix',
219+
'firstname',
220+
'middlename',
221+
'lastname',
222+
'suffix',
223+
'dob',
224+
'password_hash',
225+
'default_billing',
226+
'default_shipping',
227+
'taxvat',
228+
'confirmation',
229+
'gender',
230+
'rp_token',
231+
'rp_token_created_at',
232+
];
212233
if ($entitiesToUpdate) {
213234
$this->_connection->insertOnDuplicate(
214235
$this->_entityTable,
215236
$entitiesToUpdate,
216-
['group_id', 'store_id', 'updated_at', 'created_at']
237+
$customerFields
217238
);
218239
}
219240

0 commit comments

Comments
 (0)