I am not able to find the code which is responsible for breaking import csv execution from magento import tool in backend.

I do not want to terminate csv execution, even if error occur.

Any thoughts on this please ?

  • any thoughts on this ?
    – devhs
    Commented May 13, 2021 at 7:33

1 Answer 1


If you don't want an error to stop the import process you can try the Validation Strategy select set to Skip error entries option

enter image description here

Hope this helps you.

  • 1
    That does not work because there may be critical error in processing csv so $this->importModel->getErrorAggregator()->hasToBeTerminated() will return true
    – devhs
    Commented May 13, 2021 at 7:28
  • I just want to know which method terminates the execution
    – devhs
    Commented May 13, 2021 at 7:42
  • ok Devhs, Is your CSV is proper? Are you facing an issue because of a PHP critical error? Did you check your log ( exception or debugging ) file? State error you are getting in your question? Brother needs a little more info. Thanks Commented May 13, 2021 at 10:21
  • I also did not found the code, it will gives errors but allow to import. CSV is also correct but when we throw error from code in custom import it should disable import button. @devhs if you find please post answer
    – Ankit
    Commented May 14, 2021 at 10:48
  • @Ankit - What is an error? Please can you report here Commented May 14, 2021 at 11:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.