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

Fix Explorer operation pages on 5.5

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: explorer-20.1.0
    • Fix Version/s: explorer-20.2.0
    • Component/s: Explorer

      Description

      The persisted 5.5 export as well as CMF 1.8 is causing issue when displaying operations, sample links:

      FTL stack trace ("~" means nesting-related):
      	- Failed at: ${Root.currentDistribution.javaDocHel...  [in template "docMacros.ftl" in macro "javadoc" at line 32, column 14]
      	- Reached through: @javadoc nxItem.operationClass, true,...  [in template "file:/opt/apidoc/nuxeo-server-tomcat-11.3.56/nxserver/web/root.war/modules/org.nuxeo.apidoc.webengine/skin/views/operation/default.ftl" at line 70, column 11]
      	- Reached through: @block name="right"  [in template "file:/opt/apidoc/nuxeo-server-tomcat-11.3.56/nxserver/web/root.war/modules/org.nuxeo.apidoc.webengine/skin/views/operation/default.ftl" at line 4, column 1]
      	- Reached through: @extends src="base.ftl"  [in template "file:/opt/apidoc/nuxeo-server-tomcat-11.3.56/nxserver/web/root.war/modules/org.nuxeo.apidoc.webengine/skin/views/operation/default.ftl" at line 1, column 1]
      ----
      	at org.nuxeo.ecm.platform.rendering.fm.FreemarkerEngine.render(FreemarkerEngine.java:193)
      	at org.nuxeo.ecm.webengine.model.impl.AbstractWebContext.render(AbstractWebContext.java:641)
      	... 94 more
      Caused by: freemarker.core._TemplateModelException: No compatible overloaded variation was found; declared parameter types and argument value types mismatch.
      The FTL type of the argument values were: Null.
      The Java type of the argument values were: Null.
      The matching overload was searched among these members:
          org.nuxeo.apidoc.documentation.JavaDocHelper.getUrl(String, String),
          org.nuxeo.apidoc.documentation.JavaDocHelper.getUrl(String)
      

        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 - 30 minutes
                  30m