-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Avoid unnecessary setData when the data is already set from controller and avoid triggering 2 select queries during product import #39767
Comments
Hi @senthilengg. Thank you for your report.
Join Magento Community Engineering Slack and ask your questions in #github channel. |
Hi @engcom-Bravo. Thank you for working on this issue.
|
Hi @senthilengg, Thanks for your reporting and collaboration. We have tried to reproduce the issue in Latest 2.4-develop instance and we are able to reproduce the issue.Kindly refer the screenshots. ![]() 2 select queries getting fired.Hence we are confirming the issue. Thanks. |
✅ Jira issue https://jira.corp.adobe.com/browse/AC-14326 is successfully created for this GitHub issue. |
✅ Confirmed by @engcom-Bravo. Thank you for verifying the issue. |
Preconditions and environment
importexport_importdata
table which seems to be totally unnecessary when the data is already set from the ControllerMagento\ImportExport\Controller\Adminhtml\Import\Start
https://github.com/magento/magento2/blob/2.4-develop/app/code/Magento/ImportExport/Model/Import.php#L526C9-L527C84
magento2/app/code/Magento/ImportExport/Model/ResourceModel/Import/Data.php
Line 166 in 9e7230b
magento2/app/code/Magento/ImportExport/Model/ResourceModel/Import/Data.php
Line 155 in 9e7230b
which is totally unnecessary
Steps to reproduce
magento2/app/code/Magento/ImportExport/Model/ResourceModel/Import/Data.php
Line 199 in 9e7230b
importexport_importdata
table one after the anotherExpected 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
The text was updated successfully, but these errors were encountered: