Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-6226

Fix target platform display for package when new target-platform is used

    XMLWordPrintable

    Details

      Description

      The versions tables and description for a package is broken when the package is using the new target-platform element in packages.xml.

      For example, nuxeo-arender addon is using this element for its 11.x and 2021.x versions and have the issue.
      In packages.xml we have:

        <target-platform>
          <name>@DISTRIBUTION_NAME@</name>
          <version>[@NUXEO_PLATFORM_VERSION@,)</version>
        </target-platform>
      

      Which ends on the marketplace to the following For Nuxeo Platforms content:

      when-present<#else>when-missing. (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: ${pkg.targetPlatforms?join(", ")?html} [in template "file:/opt/nuxeo/server/nxserver/web/root.war/modules/com.nuxeo.connect.marketplace/skin/views/pkg/index.ftl" at line 87, column 75] - Reached through: @block name="content" [in template "file:/opt/nuxeo/server/nxserver/web/root.war/modules/com.nuxeo.connect.marketplace/skin/views/pkg/index.ftl" at line 64, column 3] - Reached through: @extends src="base_mp.ftl" [in template "file:/opt/nuxeo/server/nxserver/web/root.war/modules/com.nuxeo.connect.marketplace/skin/views/pkg/index.ftl" at line 1, column 1] ----">?
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                kleturc Kevin Leturc
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: