プロジェクト

全般

プロフィール

Vote #77764

完了

Creating a wiki page named "Sidebar" without proper permission raises an exception

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

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

0%

予定工数:
category_id:
1
version_id:
122
issue_org_id:
23700
author_id:
332
assigned_to_id:
1
comments:
3
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
110
ステータス-->[Closed]

説明

Steps to reproduce:

  1. Login with an account which does not have "Protect wiki pages" on some project.
  2. Go to the project.
  3. Click "+" button and then click "New wiki page".
  4. Enter "Sidebar" in the title field and click "Next".
  5. Redmine raises an exception.
Completed 500 Internal Server Error in 48ms (Views: 13.8ms | ActiveRecord: 13.6ms)

ActionController::UrlGenerationError (No route matches {:action=>"show", :controller=>"wiki", :id=>"Sidebar", :project_id=>nil} missing required keys: [:project_id]):
  app/controllers/wiki_controller.rb:71:in `new'
  lib/redmine/sudo_mode.rb:63:in `sudo_mode'

journals

--------------------------------------------------------------------------------
Fixed in r15749.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

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

いいね!0
いいね!0