Project

General

Profile

Actions

Defect #4152

closed

child_pages on Wiki with ?version in URL

Added by Henrik Ammer over 14 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Wiki
Target version:
Start date:
2009-11-02
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

If I use the child_pages macro on a Wiki page and go to the page through (for instance) activity, so I get the version added as a get (ex wiki/WikiPage?version=2), it throws out the error:

Error executing the child_pages macro (With no argument, this macro can be called from wiki pages only.)

It works as it should if the page is requested as normal (wiki/WikiPage).

I'm running

  • Apache 2.2.12
  • MySQL 5.1.37
  • Ruby 1.8.7
  • Rails 2.3.4
  • Redmine r2992

And I can't find any error text regarding the problem in either production.log nor the apache logfile.

production.log just states:

Processing WikiController#index (for MYIPADRESS at 2009-11-02 14:06:18) [GET]
Parameters: {"action"=>"index", "id"=>"3", "page"=>"Regler", "version"=>"2", "controller"=>"wiki"}
Rendering template within layouts/base
Rendering wiki/show
Completed in 471ms (View: 382, DB: 20) | 200 OK [http://MYWEBPAGE.COM/redmine/projects/3/wiki/Regler?version=2]

Actions #1

Updated by Henrik Ammer over 14 years ago

Addendum

The wikipage throws no error if I specify child_pages(WikiPage).

Actions #2

Updated by Jean-Philippe Lang over 14 years ago

  • Category set to Wiki
  • Status changed from New to Closed
  • Target version set to 0.9.0
  • Resolution set to Fixed

Fixed in r3006.

Actions

Also available in: Atom PDF