This issue has been created
There are 2 updates.
 
 
Release Notes Application / cid:jira-generated-image-avatar-2992b7c9-fac6-4eac-b8ac-7731b794abc0 RN-79 Open

The release note template page displays raw Velocity code as its title

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-4573714f-1fba-44c0-95bb-a8b86e79b7fd Vincent Massol created this issue on 29/Aug/26 21:36
 
Summary: The release note template page displays raw Velocity code as its title
Issue Type: cid:jira-generated-image-avatar-2992b7c9-fac6-4eac-b8ac-7731b794abc0 Bug
Affects Versions: 2.0
Assignee: Unassigned
Components: Application
Created: 29/Aug/26 21:36
Priority: cid:jira-generated-image-static-major-e92bba6d-e4cf-4898-9260-e3d23a829adc Major
Reporter: Vincent Massol
Description:

Problem

ReleaseNotes.Code.ReleaseNoteTemplate carries a dynamic title, Release Notes for $doc.getValue('product') $doc.getValue('version'), which is copied verbatim into every release note created from the application home page. On the created page that title resolves correctly, because the page holds a ReleaseNoteClass xobject with a product and a version.

The template page itself holds no such xobject, so neither reference resolves and Velocity leaves them as literal text. Everywhere the template page is displayed by its title, the user is shown the raw script instead of a name:

  • in the "Template Reference" page picker of the wiki administration (Administration > Other > Release Notes), which is exactly where an administrator is asked to pick that page
  • on the template page itself, in its breadcrumb, in search results and in the document index

Proposal

Give the title a fallback for the case where the page has no release note xobject, the same idiom ReleaseNotes.Code.Change.ChangeSheet already uses:

#if ("$!doc.getValue('product')" != '')Release Notes for $doc.getValue('product') $doc.getValue('version')#else Release Note Template#end

The template page then reads as "Release Note Template", while release notes created from it keep their dynamic title unchanged.

 
 

2 updates

 
cid:jira-generated-image-avatar-4573714f-1fba-44c0-95bb-a8b86e79b7fd Changes by Vincent Massol on 29/Aug/26 21:36
 
Fix Version: 2.4.1
Description: h2. Problem

{{ReleaseNotes.Code.ReleaseNoteTemplate}} carries a dynamic title, {{Release Notes for $doc.getValue('product') $doc.getValue('version')}}, which is copied verbatim into every release note created from the application home page. On the created page that title resolves correctly, because the page holds a {{ReleaseNoteClass}} xobject with a {{product}} and a {{version}}.

The template page itself holds no such xobject, so neither reference resolves and Velocity leaves them as literal text. Everywhere the template page is displayed by its title, the user is shown the raw script instead of a name:

* in the "Template Reference" page picker of the wiki administration (Administration > Other > Release Notes), which is exactly where an administrator is asked to pick that page
* on the template page itself, in its breadcrumb, in search results and in the document index

h2. Proposal

Give the title a fallback for the case where the page has no release note xobject, the same idiom {{ReleaseNotes.Code.Change.ChangeSheet}} already uses:

{code:none}
#if ("$!doc.getValue('product')" != '')Release Notes for $doc.getValue('product') $doc.getValue('version')#
{ else } Release Note Template#end
{code}

The template page then reads as "Release Note Template", while release notes created from it keep their dynamic title unchanged.