Project

General

Profile

Actions

Bug #24

open

Rendering include macro in a project's overview text field preview

Added by liaham over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
10/24/2020
Due date:
% Done:

0%

Estimated time:
Affected Version:
Compatible Redmine Version:

Description

When including a wiki page in the project's overview text field, it should be rendered in the preview.


Context

Text areas may have the wikitoolbar feature where a preview tab is provided. Clicking the preview tab renders the used markup language and (wiki) macros.

{{include(Start_page)}}

This feature is often even cross-project available. Using it within a certain project, however, it won't work in the project's overview preview.

A workaround for having a preview is to use the include macro explicitly by refering to the current project name.

{{include(this-project:Start_page)}}

Therefore, the assumption is that there is the current project variable missing.


Steps

  1. Investigate the macro code in order to find out from where the current project variable is injected.
  2. Try to fix the problem
  3. Write a test
  4. Prepare a patch for upstream contribution on Redmine

Benefit

Enhancement of Usability

No data to display

Actions

Also available in: Atom PDF