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

[Filters] A javascript exception occurs for Category filter

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Medium Medium
    • None
    • 4.2.x-dev, 4.2.2
    • None

    Description

      Steps to reproduce:

      1. Log in to back office.
      2. Go to Product catalog / Catalogs.
      3. Start creating a new Catalog.
      4. Edit 'Category' filter.
      5. Select default option 'Product Root Tag' and save the filter side menu form.
      6. Edit 'Category' filter once again.
      7. Click on 'Back' or 'Cancel' button on the side menu form.
      8. Edit 'Category' filter.
      9. Verify web browser console output.

      Actual result:
      See attached screenshot:

      A javascript exception occurs for Category filter.

       Uncaught TypeError: Cannot read properties of undefined (reading 'name')
          at ibexa-product-catalog-catalog-edit-js.js:2408:45
          at Array.map (<anonymous>)
          at TaxonomyFilterConfig.getItems (ibexa-product-catalog-catalog-edit-js.js:2395:10)
          at TaxonomyFilterConfig.storeItems (ibexa-product-catalog-catalog-edit-js.js:618:31)

      Expected result:

      No exception occurs.

      Note:

      When the user click on edit and then cancel / back button several times selected option is unmarked.

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              bogdan.mazur@ibexa.co Bogdan Mazur
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: