Actions
Defect #4693
closedAdd Group: 'hashed_password' cannot be null
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Groups
Target version:
-
Start date:
2010-01-30
Due date:
% Done:
0%
Estimated time:
Resolution:
Duplicate
Affected version:
Description
Hello,
I've updated redmine to the 0.9RC from 0.8.5. When I try to create a new group I get an error:
ActiveRecord::StatementInvalid in GroupsController#create Mysql::Error: Column 'hashed_password' cannot be null: INSERT INTO `users` (`created_on`, `hashed_password`, `admin`, `language`, `lastname`, `mail`, `updated_on`, `type`, `firstname`, `mail_notification`, `login`, `status`, `identity_url`, `last_login_on`, `auth_source_id`) VALUES('2010-01-30 12:46:56', NULL, 0, NULL, '23', NULL, '2010-01-30 12:46:56', 'Group', NULL, 1, NULL, 1, NULL, NULL, NULL) RAILS_ROOT: C:/Program Files/BitNami Redmine Stack/apps/redmine Application Trace | Framework Trace | Full Trace C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract_adapter.rb:219:in `log' C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/mysql_adapter.rb:323:in `execute' C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/database_statements.rb:259:in `insert_sql' C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/mysql_adapter.rb:333:in `insert_sql' C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/database_statements.rb:44:in `insert_without_query_dirty' C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/query_cache.rb:18:in `insert' C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/base.rb:2908:in `create_without_timestamps' C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/timestamp.rb:53:in `create_without_callbacks' C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/callbacks.rb:266:in `create' C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/base.rb:2874:in `create_or_update_without_callbacks' C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/callbacks.rb:250:in `create_or_update' C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/base.rb:2538:in `save_without_validation' C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/validations.rb:1078:in `save_without_dirty' C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/dirty.rb:79:in `save_without_transactions' C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:229:in `send' C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:229:in `with_transaction_returning_status' C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction' C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:182:in `transaction' C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:228:in `with_transaction_returning_status' C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:196:in `save' C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:208:in `rollback_active_record_state!' C:/Program Files/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:196:in `save' C:/Program Files/BitNami Redmine Stack/apps/redmine/app/controllers/groups_controller.rb:69:in `create' C:/Program Files/BitNami Redmine Stack/apps/redmine/app/controllers/groups_controller.rb:68:in `create' Request Parameters: {"group"=>{"lastname"=>"23"}, "commit"=>"Создать", "authenticity_token"=>"gK9gtyR8XSL1wqzT4Xij1XM/prFQb5sAoRQC1hILjKc="}
Related issues
Actions