Uploaded image for project: 'Kuali Rice Development'
  1. Kuali Rice Development
  2. KULRICE-9871

Templates note getting picked up for JSON request

    Details

    • Type: Bug Fix
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.0-rc1, 2.3
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Rice Module:
      KRAD
    • KRAD Feature Area:
      UIF Component
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required
    • Code Review Status:
      Not Required
    • Include in Release Notes?:
      Yes

      Description

      I'm having a bit of trouble with the environment for dyncalls not being set up when my requestJsonTemplate is being rendered. I'm getting the following error:

      Variable given by macro expression did not evaluate to a macro
      The problematic instruction:
      ----------
      ==> dynamic-directive-call templateName [on line 87, column 13 in krad/WEB-INF/ftl/lib/template.ftl]
      in user-directive krad.template [on line 52, column 20 in krad/WEB-INF/ftl/dataTablesJson.ftl]
      in user-directive uif_table_json [on line 66, column 1 in krad/WEB-INF/ftl/dataTablesJson.ftl]
      in include "$

      {KualiForm.requestJsonTemplate}

      " [on line 29, column 9 in krad/WEB-INF/ftl/uifRender.ftl]
      ----------
      Java backtrace for programmers:
      ----------
      freemarker.template.TemplateException: Variable given by macro expression did not evaluate to a macro
      at freemarker.core.DynamicCall.getMacro(DynamicCall.java:124)
      at freemarker.core.DynamicCall.accept(DynamicCall.java:79)
      at freemarker.core.Environment.visit(Environment.java:221)

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              jkneal Jerry Neal (Inactive)
              Reporter:
              gilesp Peter Giles (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: