Project

General

Profile

Defect #1365

Adding a Footer page inconsistenly affects Sidebar page

Added by Doug Morse over 4 years ago. Updated over 4 years ago.

Status:
新規(New)
Priority:
通常(Normal)
Assignee:
-
Category:
-
Start date:
01/28/2015
Due date:
% Done:

0%

Estimated time:

Description

具体的な再現方法
What steps will reproduce the problem?

The context of course is only wiki usage within a project within Redmine.

1. Create or select a project.
2. Add a Sidebar page only having the content "

Error executing the include macro (Page not found)
" (without the double quotes).
3. Add a Footer page only having the content "
Error executing the comments macro (undefined method `page' for #<Issue:0x0000000436ec10>)
\n\n" (without the double-quotes; \n = newline).

期待する結果と実際の結果
What is the expected output? What do you see instead?

Footer should not be added to the Sidebar, but it is, yet apparently only for the main Wiki page of the project (see attached screenshots).

Expected behavior is that Footer by default is not added to the Sidebar. Also, there probably should be an option in the Wiki Extensions setttings to allow for the Footer to be part of the Sidebar, for the odd case in which someone wants it to appear there.

下記コマンドの実行結果を教えてください。
Please give us a result of following command.

% ruby script/about

Environment:
Redmine version 2.6.1.stable
Ruby version 1.9.3-p286 (2012-10-12) [x86_64-linux]
Rails version 3.2.21
Environment production
Database adapter Mysql2
SCM:
Cvs 1.12.13
Git 1.7.4.1
Filesystem
Redmine plugins:
redmine_agile 1.3.5
redmine_checklists 3.0.2
redmine_people 0.1.8
redmine_timelog_timer 2.0.1
redmine_wiki_extensions 0.6.5
redmine_zenedit 0.0.2

Please provide any additional information below.


Files

Selection_001.png (58.2 KB) Selection_001.png Incorrect: Comment form in Sidebar. Doug Morse, 01/28/2015 08:54 AM
Selection_002.png (67.8 KB) Selection_002.png Correct: NO comment form in Sidebar. Doug Morse, 01/28/2015 08:54 AM
Selection_003.png (8.35 KB) Selection_003.png Image of Sidebar contents Doug Morse, 01/28/2015 09:06 AM
Selection_004.png (8.45 KB) Selection_004.png Image of Footer contents Doug Morse, 01/28/2015 09:06 AM

History

#1

Updated by Doug Morse over 4 years ago

r-labs' redmine is of course trying to parse, and the correctly blocks, any comments I made between double opening curly braces ({) and double closing curly braces (}). Thus, in this comment, I will try using Redmine's notextile markup tag to see if doing so formats correctly here. I've also attached screenshots, should this attempt not work as I am expecting.

Content of project's Sidebar page:

{{include(wiki)}}

Content of projects's Footer page:

{{comments}}

{{comment_form}}

Also available in: Atom PDF