Actions
Defect #4575
closedMissing method: password_min_length and
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-01-13
Due date:
% Done:
0%
Estimated time:
Resolution:
Invalid
Affected version:
Description
Latest svn: 3310
When accessing the user control panel or settings, Redmine fails with undefined method 'password_min_length'. Tests also fail with this as well.
About your application's environment Ruby version 1.8.7 (i686-linux) RubyGems version 1.3.5 Rack version 1.0 Rails version 2.3.5 Active Record version 2.3.5 Active Resource version 2.3.5 Action Mailer version 2.3.5 Active Support version 2.3.5 Application root /home/www/redmine Environment production Database adapter sqlite3 Database schema version 20091227112908
Path: . URL: http://redmine.rubyforge.org/svn/trunk Repository Root: http://redmine.rubyforge.org/svn Repository UUID: e93f8b46-1217-0410-a6f0-8f06a7374b81 Revision: 3310 Node Kind: directory Schedule: normal Last Changed Author: jplang Last Changed Rev: 3310 Last Changed Date: 2010-01-13 13:29:19 -0600 (Wed, 13 Jan 2010)
Example of a failing test
17) Error: test: get /news in :xml format with a valid HTTP authentication should respond with success. (HttpBasicLoginTest): NoMethodError: undefined method `password_min_length' for #<Class:0xb71fb44c> app/models/user.rb:329:in `validate' test/object_daddy_helpers.rb:11:in `generate_with_protected!' /test/integration/http_basic_login_test.rb:22:in `__bind_1263411740_810313' /usr/local/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:369:in `call' /usr/local/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:369:in `run_current_setup_blocks' /usr/local/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:368:in `each' /usr/local/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:368:in `run_current_setup_blocks' /usr/local/lib/ruby/gems/1.8/gems/thoughtbot-shoulda-2.10.2/lib/shoulda/context.rb:350:in `test: get /news in :xml format with a valid HTTP authentication should respond with success. '
Actions