Comment 1 for bug 581982

Revision history for this message
Chris Tusa (chris-tusa) wrote : Re: Very First login errors on database record (callhistory?)

Issue also occurs on NEW user signup after account is created and user is prompted to login for the first time using their password. In this case, an actual SQL statement was returned by 'sequel':

Account Created [OK].
Enter your password to continue login
Password: %%%%%%%
/data/devel/lang/jruby-1.5.0/lib/ruby/gems/1.8/gems/sequel-3.12.0/lib/sequel/model/base.rb:980:in `_update': Attempt to update object did not result in a single row modification (SQL: UPDATE "SESSIONS" SET "USER_ID" = 2, "GROUP_ID" = 3, "CREATED" = TIMESTAMP '2010-06-02 19:47:02.609000', "EXPIRES" = TIMESTAMP '2010-06-02 20:47:02.626000', "CALLER_ID" = 1 WHERE ("ID" IS NULL)) (Sequel::NoExistingObject)
 from /data/devel/lang/jruby-1.5.0/lib/ruby/gems/1.8/gems/sequel-3.12.0/lib/sequel/model/base.rb:948:in `_save'
 from /data/devel/lang/jruby-1.5.0/lib/ruby/gems/1.8/gems/sequel-3.12.0/lib/sequel/model/base.rb:761:in `save'
 from /data/devel/lang/jruby-1.5.0/lib/ruby/gems/1.8/gems/sequel-3.12.0/lib/sequel/model/base.rb:1006:in `checked_transaction'
 from /data/devel/lang/jruby-1.5.0/lib/ruby/gems/1.8/gems/sequel-3.12.0/lib/sequel/database/query.rb:167:in `_transaction'
 from /data/devel/lang/jruby-1.5.0/lib/ruby/gems/1.8/gems/sequel-3.12.0/lib/sequel/database/query.rb:153:in `transaction'
 from /data/devel/lang/jruby-1.5.0/lib/ruby/gems/1.8/gems/sequel-3.12.0/lib/sequel/connection_pool/threaded.rb:84:in `hold'
 from /data/devel/lang/jruby-1.5.0/lib/ruby/gems/1.8/gems/sequel-3.12.0/lib/sequel/database/connecting.rb:189:in `synchronize'
 from /data/devel/lang/jruby-1.5.0/lib/ruby/gems/1.8/gems/sequel-3.12.0/lib/sequel/database/query.rb:151:in `transaction'
 from /data/devel/lang/jruby-1.5.0/lib/ruby/gems/1.8/gems/sequel-3.12.0/lib/sequel/model/base.rb:1006:in `checked_transaction'
 from /data/devel/lang/jruby-1.5.0/lib/ruby/gems/1.8/gems/sequel-3.12.0/lib/sequel/model/base.rb:761:in `save'
 from /data/devel/lang/jruby-1.5.0/lib/ruby/gems/1.8/gems/sequel-3.12.0/lib/sequel/model/base.rb:994:in `checked_save_failure'
 from /data/devel/lang/jruby-1.5.0/lib/ruby/gems/1.8/gems/sequel-3.12.0/lib/sequel/model/base.rb:761:in `save'
 from ./lib/tglogin.rb:164:in `auth'
 from ./tg.rb:167