Defect #4152

child_pages on Wiki with ?version in URL

Added by Henrik Ammer almost 13 years ago. Updated almost 13 years ago.

Status:ClosedStart date:2009-11-02
Priority:NormalDue date:
Assignee:-% Done:


Target version:0.9.0
Resolution:Fixed Affected version:


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]

Associated revisions

Revision 3006
Added by Jean-Philippe Lang almost 13 years ago

Fixed: child_pages macro fails on wiki page history (#4152).


#1 Updated by Henrik Ammer almost 13 years ago


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

#2 Updated by Jean-Philippe Lang almost 13 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.

Also available in: Atom PDF