-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Patch 18017 magento 23 #19635
Patch 18017 magento 23 #19635
Conversation
Hi @niravkrish. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
@@ -1223,7 +1223,14 @@ define([ | |||
} | |||
|
|||
imagesToUpdate = this._setImageIndex(imagesToUpdate); | |||
gallery.updateData(imagesToUpdate); | |||
if (gallery === undefined) { |
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.
Such check is not correct, please use typeof
instead.
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.
I will update the code.
Please review It.
Hi @VladimirZaets, thank you for the review. |
@VladimirZaets shouldn't this be |
Hello @niravkrish Please see the quote of QA comment after testing on branch with the PR PR doesn't fix issue #18017 Manual testing scenario:
Thank you for contribution and collaboration |
@niravkrish, I am closing this PR now due to inactivity. |
Hi @niravkrish, thank you for your contribution! |
Hello, Please review and test issue. I have already resolve gallery image change issue in resolve conflicts my last commit ( resolve conflicts - bbceaab ). |
Hi, @niravkrish. As I see the merge conflict exists. Please resolve it. |
@niravkrish thanks. |
✔️ QA passed |
Hi @niravkrish, thank you for your contribution! |
Description (*)
When pre-selecting a configurable product swatch that has an image, Magento will try to load that image in the product gallery before it is initialized, throwing a JavaScript error.
Fixed Issues (if relevant)
Manual testing scenarios (*)
Contribution checklist (*)