Open
Description
Preconditions and environment
- Reproducible in all versions
- Below line of code firing 2 select queries one after another to the
importexport_importdata
table which seems to be totally unnecessary when the data is already set from the ControllerMagento\ImportExport\Controller\Adminhtml\Import\Start
- In addition on version 2.4.7 compare to 2.4.4 there is a change of function argument in
- The above argument change affected the customisation whoever used it since not passing the id will throw exception from https://github.com/magento/magento2/blob/9e7230b0815f9978e3dd5e60d2521ae93a88f434/app/code/Magento/ImportExport/Model/ResourceModel/Import/Data.php#L185C17-L185C74
which is totally unnecessary
Steps to reproduce
- Enable Db log or add log in this function
- Import product data from admin
- You can find 2 select queries to
importexport_importdata
table one after the another
Expected result
No select queries should be fired since its unnecessary
Actual result
2 select queries getting fired
Additional information
No response
Release note
No response
Triage and priority
- Severity: S0 - Affects critical data or functionality and leaves users without workaround.
- Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
- Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
- Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
- Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.