Project

General

Profile

Defect #963

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

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

Status:
終了(Closed)
Priority:
通常(Normal)
Assignee:
Target version:
Start date:
03/13/2012
Due date:
% Done:

100%

Estimated time:

Description

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

Associated revisions

Revision 45b3e07e (diff)
Added by Haru Iida over 7 years ago

fixes #963 Compatibility with redmine_whining.

History

#1

Updated by Haru Iida over 7 years ago

  • Target version set to 0.3.9
#2

Updated by Haru Iida over 7 years ago

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

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

#4

Updated by Haru Iida over 7 years ago

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

Updated by Martin DENIZET over 7 years ago

Haru Iida は書きました:

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

http://hudson.r-labs.org/jenkins/job/Wiki%20Extensions%20Plugin/lastSuccessfulBuild/artifact/redmine_wiki_extensions-0.3.9.zip

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

Also available in: Atom PDF