Skip to content

[Bug]: cart product list duplicated keys #435

@bartoszherba

Description

@bartoszherba

Expected Behavior

Neither key in the product list is duplicated for any possible elements.

Actual Behavior

Some keys are duplicated in the cart.

Possible Solution

No response

Steps to reproduce

  1. Add to the cart two variants of configurable products, eg. two different sizes or colors.
  2. Try to manipulate cart content, eg. increase QTY of one of the products
  3. Observe in console key duplication errors

What version of Magento 2 integration are you using?

2.4.x

What version of Node.js are you using?

16.13.1

What browser (and version) are you using?

Version 96.0.4664.110 (Official Build) (arm64)

What operating system (and version) are you using?

macOS Monterey 12.1

Relevant log output

[Vue warn]: Duplicate keys detected: 'MSH12'. This may cause an update error.

found in

---> <CartSidebar> at _theme/components/CartSidebar.vue
       <DefaultLayout> at _theme/layouts/default.vue
         <Root>

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingvsf_team

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions