-
Type: Bug
-
Status: Closed
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Marketplace / Package Management
-
Tags:
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] ----">?
- is related to
-
NXBT-3382 New target platform version range field
- Resolved