Uploaded image for project: 'PUBLIC - Liferay Commerce'
  1. PUBLIC - Liferay Commerce
  2. COMMERCE-4917

AssetCategory Field is Null in Category Content Template

    Details

    • Severity of Issue:
      Minor

      Description

      When creating a Category Content Template, if you add the Asset Category field from the Script Editor it is always null. 

      Steps to Reproduce

      1. Go to Site Builder > Widget Templates
      2. Add New Category Content Template
      3. Give the template a name and add the Asset Category field from the left panel
      4. Go to Category Display Page > Configuration and select your  template.

      Expected Results

      The fully qualified class name should appear

      Actual Results

      Error message displayed

       

      An error occurred while processing the template.The following has evaluated to null or missing: ==> assetCategory in template "20101#20128#47397" at line 1, column 3 ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: ${assetCategory} in template "20101#20128#47397" at line 1, column 1 ----
      1${assetCategory} 
       

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            jeffrey.handa Jeffrey P. Handa
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Packages

                Version Package
                Gemini