Vote #77764
完了Creating a wiki page named "Sidebar" without proper permission raises an exception
開始日:
2022/05/09
期日:
進捗率:
0%
予定工数:
Redmineorg_URL:
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
説明
Steps to reproduce:
- Login with an account which does not have "Protect wiki pages" on some project.
- Go to the project.
- Click "+" button and then click "New wiki page".
- Enter "Sidebar" in the title field and click "Next".
- 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.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
いいね!0