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

Measurement attribute throws undefined measurementRangeMinimumValue

    XMLWordPrintable

Details

    Description

      Measurement attribute throws undefined measurementRangeMinimumValue.

      Prereq.: Changes from https://github.com/ibexa/measurement/pull/51.

      Steps:

      1. Create attribute group.
      2. Create attribute, choose measurement (deprecated), choose range.
      3. Create product type, include above attribute.
      4. Create this product.
      5. Publish.

      Actual result: Error 500 occurs, stack trace attached.

      An exception has been thrown during the rendering of a template ("Warning: Undefined array key "measurementRangeMinimumValue"").
      

      Frontend:

      An exception has been thrown during the rendering of a template ("Notice: Undefined index: measurementRangeMinimumValue") in "@IbexaProductCatalog/themes/standard/product_catalog/field_type/product.html.twig".
      

      Expected result: Product can be published w/o errors.

      Remarks: Product is published but error occurs. Error also occurs when viewing the product on admin panel or on frontend.

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              michal.szoltysek@ibexa.co Michał Szołtysek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: