Vote #65957
完了child_pages on Wiki with ?version in URL
0%
説明
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:
bq. 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:
bq. 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]]
journals
h2. Addendum
The wikipage throws no error if I specify @child_pages(WikiPage)@.
--------------------------------------------------------------------------------
Fixed in r3006.
--------------------------------------------------------------------------------