-
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
Magento 2 Loading custom option dropdown issue #10291
Comments
I can reproduce this on a clean 2.1.7 installation with these steps:
Result is a infinite loader and no javascript error message. |
@NagarajuKasa Hi, thanks for your feedback. The internal ticket was created MAGETWO-70954 to address this issue. |
thanks for reply i hope you will fix in the coming version.... thanks |
is there any update on this ticket? |
@NagarajuKasa, thank you for your report. |
I would like to work on this one, can you assign it to me? #squashtoberfest |
@briscoda please accept the invite |
The problem here can be traced back to this file: In cases where there are option values added for the "Select" option types, the javascript will try to keep track of those options if they are not deleted by clicking on the trash can icon. When the user toggles back to the select option, it then tries to do some logical not operation that seems to fail because the previous options don't seem to get properly deleted from the recordData. I cannot think of a case in my testing where you would ever want the spinner to show up for these custom options. The solution might be to either make sure that the "recordData" gets updated correctly so that records don't linger, or to remove the spinner functionality from this altogether. I tried looking back through commit history to see what the reason was for adding in spinner functionality there, but couldn't really tell from looking at it. One thing that I think will happen if you make the recordData remove those entries, will be that one existing products with custom options, you could potentially lose any custom options that were set. @okorshenko Who would be the right person to advise on a potential solution? |
Internal ticket to track issue progress: MAGETWO-82943 |
the issue has been fixed and delivered to 2.2-develop branch. WIll be available with 2.2.2 release |
Hi @NagarajuKasa. Thank you for your report.
The fix will be available with the upcoming patch release. |
Thank you so much for updating. |
Preconditions
Steps to reproduce
Expected Result
The option Drop-down is selected and values are possible to edit
Actual Result
The option Drop-down is selected and a infinite loader is presented
Description
Hi,
We are facing the issue with default magento2.17
#issue:
While selecting the OptionType select fields for second time its loadind continuosly.
Please find the steps in the screenshot:
https://prnt.sc/fwkrc5
Thanks
The text was updated successfully, but these errors were encountered: