プロジェクト

全般

プロフィール

Vote #65957

完了

child_pages on Wiki with ?version in URL

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Wiki_1
対象バージョン:
開始日:
2009/11/02
期日:
進捗率:

0%

予定工数:
category_id:
1
version_id:
6
issue_org_id:
4152
author_id:
9265
assigned_to_id:
0
comments:
2
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

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.
--------------------------------------------------------------------------------

Admin Redmine さんが3年以上前に更新

  • カテゴリWiki_1 にセット
  • 対象バージョン0.9.0_6 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0