-
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
Estimate Shipping and Tax Form not works due to js error in collapsible.js [proposed fix] #8222
Comments
Some additional informations.
, I emptied the cache from the backend, without success. Switch between languages does not change the resut: the error is the same. |
Switching on YES the option:
The string 'it/ita/checkout/cart/block-shipping now includes the store code. |
Proposed FIX:In
at line 103 change the research value '.' with /\./g to perform the replace globally. The result should be the following: Original collapsible.js:
Modified collapsible.js:
There is a single occurrence of 'window.location.pathname.replace' in all Magento 2.1.3 CE. P.S.: |
This issue affects also CE 2.1.5, CE 2.1.6 and CE 2.1.7 |
The error also reproduces on 2.0.9 |
After the update to 2.2.0 the error seems to have disappeared and I'm no longer able to reproduce it. |
Hi @Dart18 |
@Dart18, we are closing this issue due to inactivity. If you'd like to update it, please reopen the issue. |
The error also reproduces on 2.2.4
the error was reproduced if window.location.pathname has two or more dots (for example /index.php/push-it-messenger-bag.html)
magento2/lib/web/mage/collapsible.js Line 113 in 1cd8257
original code replace only one dot |
Hi @Dart18. Thank you for your report. The fix will be available with the upcoming 2.1.15 release. |
The shipping and estimate tax form don't display the form with country, city, postcode fields.
The form is in the dom, but hidden.
The Cannot read property 'it/checkout/cart/block-shipping' of null javascript error appears in the console.
Preconditions
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with Xdebug v2.5.0, Copyright (c) 2002-2016, by Derick Rethans
Steps to reproduce
Expected result
Actual result
I'm working on a site ready to go live. So any suggestion is very appreciate.
Thanks in advance.
The text was updated successfully, but these errors were encountered: