Skip to content

Checkout page hangs #9984

Closed
Closed
@angelo983

Description

@angelo983

Wrong evaluating check of position param (Position at which item should be inserted.)
let hang Checkout Page

Preconditions

  1. Centos 6.7 Final
  2. Plesk 12.5 (Apache 2.2.15)
  3. Magento 2.1.7
  4. PHP 5.6
  5. Existing set of configurable products and linked simple products

Steps to reproduce

  1. Put in cart at least one simple product from a configurable product page
  2. Go to checkout page

Expected result

  1. Checkout page displays steps to complete payment.

Actual result

  1. After waiting a bit, the body of the page rests blank
  2. in console appears a javascript error: element position is null

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: CatalogFixed in 2.1.xThe issue has been fixed in 2.1 release lineIssue: Cannot ReproduceCannot reproduce the issue on the latest `2.4-develop` branchIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedbug report

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions