-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Prevent endless loop when duplicating product #25875
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
Prevent endless loop when duplicating product #25875
Conversation
Hi @JeroenVanLeusden. Thank you for your contribution
For more details, please, review the Magento Contributor Guide documentation. |
683a22f
to
589f2e8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @JeroenVanLeusden,
In general your changes looks good for me. Could you adjust your code according to my comment above and cover your changes with some test in order not to have regression in future?
Hi @JeroenVanLeusden, |
Yes definitely! Didn't had time to update it yet, will try to find some soon. |
cd41183
to
47f6fef
Compare
@ihor-sviziev Added stopper and a testcase. |
@magento run all tests |
Failing unit tests are not related to changes from this PR |
✔️ QA passed |
Missed to add - failing functional tests looks not related to changes from this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see my comment regarding BC.
It should be avoided in the scope of 2.4-develop
.
Remove redundant backward compatibility in constructor
@magento run all tests |
Hi @JeroenVanLeusden, thank you for your contribution! |
Not being much of a coder I have to ask how do I get the updated copier.php file? I presume I can just replace the fixed file in the 2.3.4 installation? |
Need Urgent Help, magento setup version is 2.3.4[upgraded m1], we have "29542 records found" products, i am facing duplicate product issue, try to fix using available patch but its not fix. Today i remove all products images in test environment, there no image for a single product, now i add product image for a single product, i save it, working cool, but when i try to do duplicate this product, its again went into infinite loop, within few mints it create huge[4.3GB] garbage of that image that recently add. now i am helpless. |
Description (*)
Duplicating product will end up in endless loop which also keeps copying product images.
Fixed Issues (if relevant)
Manual testing scenarios (*)
Questions or comments
Contribution checklist (*)