Defect #23700
Creating a wiki page named "Sidebar" without proper permission raises an exception
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 0% | ||
Category: | Wiki | |||
Target version: | 3.3.1 | |||
Resolution: | Fixed | Affected version: | 3.3.0 |
Description
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'
Associated revisions
Creating a wiki page named "Sidebar" without proper permission raises an exception (#23700).
3.3-stable: fix test failure (#23700)
History
#1
Updated by Toshi MARUYAMA over 1 year ago
- Target version set to 3.3.1
#2
Updated by Jean-Philippe Lang over 1 year ago
- Status changed from New to Resolved
- Assignee set to Jean-Philippe Lang
- Resolution set to Fixed
Fixed in r15749.
#3
Updated by Jean-Philippe Lang over 1 year ago
- Status changed from Resolved to Closed