Project

General

Profile

Actions

Defect #43526

closed

When using the include macro in the project description, an execution error occurs in the project list (list view)

Added by Mizuki ISHIKAWA 12 months ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Category:
Text formatting
Target version:
Resolution:
Fixed
Affected version:

Description

When the include macro is used in a project’s description, it renders correctly on the project overview and the project list in board view, but it fails with an error in the project list in list view.

Steps to reproduce:
  • Add {{include(WikiPageName)}} to the project description.
    • Open the project overview page – the macro is rendered correctly.
    • Open the project list (board view) – the macro is rendered correctly.
    • Open the project list (list view) – the macro fails to render and the following error is shown instead of the description. Error executing the include macro (Page not found)

Possible cause:
In the project list list view, @project is not set when rendering the project description. Because of that, the include macro cannot determine which project’s wiki page it should load, and it results in a “Page not found” error.
When the project is explicitly specified, such as {{include(projectname:WikiPageName)}}, the macro works correctly in all views, including the project list list view.


Files

Actions

Also available in: Atom PDF