-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Checkout page hangs #9984
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
Comments
@angelo983 We cannot reproduce this issue as described. Please provide the detailed steps we must follow to reproduce this issue. In addition, identify the OS and web server you are running, the versions of MySQL, and any other information needed to reproduce your issue. |
I found a workaround for me by seeing this evidence in lib/web/mage/utils/arrays.js
Browser console gave me error in line 122 because position value is NULL and this value is not managed in the script |
@angelo983 May you please give more detailed steps for reproducing this issue? |
No need to reproduce, there is a evidence of faulty variable check as I stated in previous post |
Hi @angelo983 |
Hello, I tried to pull request months ago without success. |
Hi @angelo983 |
@angelo983 thank you for your report. |
You have not to reproduce this issue because of the nature of the issue itself, just put a developer to bring attention to this code in lib/web/mage/utils/arrays.js
Error in line 122 because position value is NULL and this value is not managed in the script This is the only change to apply: This is a EVIDENCE. ps I tried anyway to fork and pull request again but forking hangs in "fetching latest commit..." pps finally fork and pull request went on |
@angelo983 I believe a problem is in which particular scenario |
@orlangur I believe instead that the programmer who wrote that line of code made the one mistake as expressed in the link https://stackoverflow.com/a/5076962 (difference between null and undefined in JavaScript). Why YES? (My proposal) |
@angelo983 I understand the difference between What I'm asking is whether |
@orlangur A scenario where this happens? Mine |
Does it happen from time to time? Based on
it looks like not so easy to reproduce... |
In my scenario happens every time, my magento platform is at version 2.1.9 and started from 2.0.4 |
@magento-engcom-team could you please recheck this issue taking into account the information provided? |
PR has been merged to 2.1-develop branch. Closing the issue |
@angelo983, thank you for your report. |
@orlangur the magento team is unable to reproduce the majority of commonly-occuring issues. That doesn't mean they don't happen often. I've had this problem with multiple installations of multiple versions of Magento 2. Currently experiencing it with Magento 2.2.5. As I keep suggesting, Magento should release a guide on how to build a system the same as their ineffable 'vanilla' instances... because they seem to work flawlessly, but following Magento's guidance on server setup causes most people lots of problems. Would save a lot of time scrolling through silly arguments on github... |
Uh oh!
There was an error while loading. Please reload this page.
Wrong evaluating check of position param (Position at which item should be inserted.)
let hang Checkout Page
Preconditions
Steps to reproduce
Expected result
Actual result
Fixed Issues (if relevant)
lib/web/mage/utils/arrays.js
Line 105
from
if (typeof position === 'undefined') {
to
if (typeof position === 'undefined' || position == null) {
Manual testing scenarios
May happens while buying simple products of configurable products
The text was updated successfully, but these errors were encountered: