Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-24105

Fix layout definitions export

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 9.1, 9.10
    • Fix Version/s: 9.10-HF01, 10.1
    • Component/s: Layouts & Widgets

      Description

      Since changes for NXP-21025, export of layout definitions fail.

      Steps to reproduce:

      2018-01-04 15:19:14,162 ERROR [http-nio-0.0.0.0-8080-exec-1] [freemarker.runtime] Error executing FreeMarker template
      FreeMarker template error:
      The following has evaluated to null or missing:
      ==> rowDef.getWidgets  [in template "jar:file:/opt/nuxeo-server-tomcat-10.1-SNAPSHOT/nxserver/bundles/nuxeo-platform-forms-layout-export-10.1-SNAPSHOT.jar!/org/nuxeo/ecm/platfo
      rm/forms/layout/export/layouts.ftl" at line 117, column 25]
      
      ----
      Tip: It's the step after the last dot that caused this error, not those before it.
      ----
      Tip: If the failing expression is known to be 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: #list rowDef.getWidgets() as widgetName  [in template "jar:file:/opt/nuxeo-server-tomcat-10.1-SNAPSHOT/nxserver/bundles/nuxeo-platform-forms-layout-export-
      10.1-SNAPSHOT.jar!/org/nuxeo/ecm/platform/forms/layout/export/layouts.ftl" at line 117, column 18]
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours
                  3h

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.