Defect #4152
child_pages on Wiki with ?version in URL
| Status: | Closed | Start: | 2009-11-02 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assigned to: | - | % Done: | 0% |
|
| Category: | Wiki | |||
| Target version: | 0.9.0 | |||
| Affected version: | devel | Resolution: | Fixed |
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]
Associated revisions
Fixed: child_pages macro fails on wiki page history (#4152).
History
Updated by Henrik Jönsson 9 months ago
Addendum¶
The wikipage throws no error if I specify child_pages(WikiPage).
Updated by Jean-Philippe Lang 9 months 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.