Project

General

Profile

Actions

Defect #5615

closed

Bots filter error

Added by James Turnbull about 14 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Category:
Plugin API
Target version:
-
Start date:
2010-05-29
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

On Rails 2.3.5 and Redmine trunk with Bots Filter 1.02 I get this error about 6-10 times a day:

Controller/projects#(template only) raisedNoMethodError

NoMethodError: undefined method `match' for nil:NilClass

/opt/projects.puppetlabs.com/vendor/plugins/redmine_bots_filter/lib/bots_filter.rb:44:in `bot_request?'
/opt/projects.puppetlabs.com/vendor/plugins/redmine_bots_filter/lib/bots_filter.rb:19:in `bots_filter'
/var/lib/gems/1.8/gems/activesupport-2.3.5/lib/active_support/callbacks.rb:178:in `send'
/var/lib/gems/1.8/gems/activesupport-2.3.5/lib/active_support/callbacks.rb:178:in `evaluate_method'
/var/lib/gems/1.8/gems/activesupport-2.3.5/lib/active_support/callbacks.rb:166:in `call'
/var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:225:in `call'
/var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:629:in `run_before_filters'
/var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:615:in `call_filters'
/var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
/var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/var/lib/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/var/lib/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/rescue.rb:160:in `perform_action_without_flash'
/var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/flash.rb:146:in `perform_action_trace'
/var/lib/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in `send'


Related issues

Related to Redmine - Defect #5056: Bots Filter plugin should include some COPYING or LICENSE fileClosedJean-Philippe Lang2010-03-11

Actions
Actions

Also available in: Atom PDF