Uploaded image for project: 'E-commerce'
  1. E-commerce
  2. ECOMMERCE-422

Get freeMarker template error when editing component with no connection

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 1.3
    • None
    • None
    • Content Mngmt 6
    • 3

      Steps to reproduce

      1. Create a component with product detail
      2. Disable all connections
      3. Open ecom page
      4. Edit product detail component

      .. Logs, screenshots, gifs...

      Expected results

      Should not throw error

      Actual results

      System  throw error:

      The following has evaluated to null or missing: ecomfn.getProductById(productChooser.connector, productChooser.connection, productChooser.productId) [in template "ecommerce-templating/templates/components/new-product-detail.ftl" at line 3, column 24]

      Workaround

      Development notes

        Acceptance criteria

              thuy.to Thuy To
              yen.lactue Yen Lac Tue
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 1.75d
                  1.75d