Actions
Defect #38114
closedExample plugin (extra/sample_plugin) breaks Activity page
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
If you install Example Plugin, it breaks Activity Page.
From what I have found, this problem already exists in Redmine 3.4 (I have not checked Redmine 3.3 or earlier versions).
$ cp -a extra/sample_plugin plugins/ $ bin/rake db:migrate redmine:plugins:migrate RAILS_ENV=test $ bin/rails test test/functional/activities_controller_test.rb Run options: --seed 46703 # Running: ..DEPRECATION WARNING: acts_as_activity_provider with implicit :scope option is deprecated. Please pass a scope on the Meeting as a proc. (called from block (2 levels) in events at /Users/maeda/redmines/redmine-trunk/lib/redmine/activity/fetcher.rb:93) E Error: ActivitiesControllerTest#test_global_index: ActiveRecord::StatementInvalid: SQLite3::SQLException: no such column: projects.status lib/plugins/acts_as_activity_provider/lib/acts_as_activity_provider.rb:90:in `find_events' lib/redmine/activity/fetcher.rb:93:in `block (2 levels) in events' lib/redmine/activity/fetcher.rb:92:in `each' lib/redmine/activity/fetcher.rb:92:in `block in events' lib/redmine/activity/fetcher.rb:91:in `each' lib/redmine/activity/fetcher.rb:91:in `events' app/controllers/activities_controller.rb:62:in `index' lib/redmine/sudo_mode.rb:61:in `sudo_mode' test/functional/activities_controller_test.rb:70:in `test_global_index' rails test test/functional/activities_controller_test.rb:68
Files
Actions