Closed duc-tv closed 4 months ago
nopCommerce version: 4.7
Steps to reproduce the problem: When importing customers, we encountered an error:
I have checked the code, and the error occurs in the function ImportManager.ImportCustomersFromXlsxAsync
Currently, in the function, the variable rolesToSave is declared for each customer, but it is not cleared after each iteration. This causes the error to occur from the second customer onward.
Closed #7209
nopCommerce version: 4.7
Steps to reproduce the problem: When importing customers, we encountered an error:
I have checked the code, and the error occurs in the function ImportManager.ImportCustomersFromXlsxAsync
Currently, in the function, the variable rolesToSave is declared for each customer, but it is not cleared after each iteration. This causes the error to occur from the second customer onward.