guilhermenoronha / redmine_send_mails

2 stars 1 forks source link

Error creating wiki page #12

Open igor-panassiouk opened 6 years ago

igor-panassiouk commented 6 years ago

Environment: Redmine version 3.3.1.stable Ruby version 2.3.3-p222 (2016-11-21) [x86_64-linux-gnu] Rails version 4.2.9

Rendered plugins/redmine_send_mails/app/views/wiki/edit.html.erb within layouts/base (6.1ms) Completed 500 Internal Server Error in 25ms (ActiveRecord: 7.4ms)

ActionView::Template::Error (wrong number of arguments (given 1, expected 0)): 22: 23: <%= fp.select :parent_id, 24: content_tag('option', '', :value => '') + 25: wiki_page_options_for_select(@wiki.pages.all(:include => :parent) - 26: @page.self_and_descendants, @page.parent) %> 27:

28: <% end %> plugins/redmine_send_mails/app/views/wiki/edit.html.erb:25:in block (2 levels) in _920e308d3345b49d90450bc02680c1a1' plugins/redmine_send_mails/app/views/wiki/edit.html.erb:20:inblock in _920e308d3345b49d90450bc02680c1a1' plugins/redmine_send_mails/app/views/wiki/edit.html.erb:5:in _920e308d3345b49d90450bc02680c1a1' app/controllers/wiki_controller.rb:92:inshow'