Defect #963

Wiki Extensions causing view path error for other plugin's rake tasks

Added by Martin DENIZET over 8 years ago. Updated over 8 years ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:


Tested with redmine_whining

When sending email with redmine_whining I get this view path error:

rake redmine:send_whining days=30 RAILS_ENV="production" 
(in /opt/redmine/versions/redmine-1.3)
rake aborted!
Missing template whining_mailer/whining.text.erb in view path app/views

(See full trace by running task with --trace)

When I uninstall "Wiki Extensions" or comment out part of the init.rb file, the rake task works normally.
It seems the init.rb alters the view path other plugins?

My environment:

# ./script/about production
About your application's environment
Ruby version              1.8.7 (i486-linux)
RubyGems version          1.3.7
Rack version              1.1.3
Rails version             2.3.14
Active Record version     2.3.14
Active Resource version   2.3.14
Action Mailer version     2.3.14
Active Support version    2.3.14
Application root          /opt/redmine/versions/redmine-1.3
Environment               development
Database adapter          mysql
Database schema version   20110902000000

About your Redmine plugins
Redmine Toolbar Extended                     0.0.1
Redmine Time Tracker plugin                  0.5-dev
Redmine Information Plugin                   0.2.4
Redmine Graphs plugin                        0.1.0
Redmine Attach Screenshot plugin             0.1.3-mdfork
Redmine Glossary Plugin                      0.6.2
Redmine Close Button plugin                  0.0.4
Redmine Project Style plugin                 0.0.2
WikiNG                                       0.0.1b
Redmine Wiki Extensions plugin               0.3.8
Redmine My Custom Page plugin                0.1.0
DMSF                                         1.2.2
Knowledgebase                                0.3.3
Issue Due Date                               0.1.0
Redmine Embedded Video                       0.1.0
Redmine HR plugin                            0.1.1
Redmine Checkout plugin                      0.5
Redmine Fullcalendar Event Provider plugin   0.1.0
Redmine Contacts Google Sync plugin          2.2.4
CRM plugin                                   2.2.4-beta-1


Updated by Haru Iida over 8 years ago

  • Target version set to 0.3.9

Updated by Haru Iida over 8 years ago

  • Status changed from 新規(New) to 解決(Resolved)
  • % Done changed from 0 to 100

更新履歴 commit:99e80a31165a で適用されました。


Updated by Haru Iida over 8 years ago

  • Status changed from 解決(Resolved) to 終了(Closed)

Updated by Martin DENIZET over 8 years ago

Haru Iida は書きました:

Thank you for your reporting.
I've fixed my code. Please try this one.

I tested today, the problem is indeed solved in 0.3.9.
Thank you for your work!

Also available in: Atom PDF