Project

General

Profile

Actions

Defect #11503

closed

Accessing /projects/:project/wiki/something.png fails with error 500

Added by Alex Shulgin almost 12 years ago. Updated over 11 years ago.

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

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

The user have to have the wiki edit permission. Stack trace:

/usr/local/rvm/gems/ruby-1.8.7-p352/gems/actionpack-2.3.14/lib/action_view/paths.rb:74:in `find_template'
/usr/local/rvm/gems/ruby-1.8.7-p352/gems/actionpack-2.3.14/lib/action_controller/base.rb:1391:in `default_template'
[RAILS_ROOT]/app/controllers/application_controller.rb:519:in `default_template'
/usr/local/rvm/gems/ruby-1.8.7-p352/gems/actionpack-2.3.14/lib/action_controller/base.rb:942:in `render_without_benchmark'
/usr/local/rvm/gems/ruby-1.8.7-p352/gems/actionpack-2.3.14/lib/action_controller/benchmarking.rb:51:in `render'
/usr/local/rvm/gems/ruby-1.8.7-p352/gems/activesupport-2.3.14/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/usr/local/rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/usr/local/rvm/gems/ruby-1.8.7-p352/gems/activesupport-2.3.14/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/usr/local/rvm/gems/ruby-1.8.7-p352/gems/actionpack-2.3.14/lib/action_controller/benchmarking.rb:51:in `render'
[RAILS_ROOT]/app/controllers/wiki_controller.rb:62:in `show'

Tested on Redmine versions 1.3 and 1.4.

Actions

Also available in: Atom PDF