Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-4869

[Product collection] react error after adding product through UDW

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 4.4.0-rc1
    • 4.4.0
    • None
    • commerce 4.4

    Description

      Prerequisites:
      Manually add product (+ product type etc.)
      Migrate products via https://github.com/ibexa/test-fixtures

      Steps to reproduce:
      1. Go to PB editor
      2. Add product collection block
      3. Click on 'Select product' button
      4. In UDW select migrated product

      Actual result:
      Error appears in console -

      Uncaught TypeError: Cannot read properties of undefined (reading 'fieldValue')
          at ibexa-product-collection-block-js.js:73:38
          at Array.forEach (<anonymous>)
          at Object.onConfirm (ibexa-product-collection-block-js.js:64:20)
          at Object.onConfirm (ibexa-page-builder-parts-javascript-js.js:2531:168)
          at onConfirm (ibexa-admin-ui-udw-tabs-js.js:7464:11)
          at onClick (ibexa-admin-ui-udw-tabs-js.js:2517:16)
          at Object.lj (react-dom.production.min.js:223:217)
          at kj (react-dom.production.min.js:34:117)
          at nj (react-dom.production.min.js:34:171)
          at gh (react-dom.production.min.js:62:93)
      

      Expected result:
      Product is added properly by udw.

      Note: products added manually are selected properly through UDW.

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              tomasz.szopinski@ibexa.co Tomasz SzopiƄski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: