Project

General

Profile

Actions

Defect #23700

closed

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

Added by Go MAEDA over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Category:
Wiki
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

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'
Actions #1

Updated by Toshi MARUYAMA over 8 years ago

  • Target version set to 3.3.1
Actions #2

Updated by Jean-Philippe Lang over 8 years ago

  • Status changed from New to Resolved
  • Assignee set to Jean-Philippe Lang
  • Resolution set to Fixed

Fixed in r15749.

Actions #3

Updated by Jean-Philippe Lang over 8 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF