Project

General

Profile

Actions

Defect #827

closed

old cookies cause an error on page load

Added by Marc Horowitz about 16 years ago. Updated about 16 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2008-03-11
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

I had created a redmine install with a test database. After experimenting, I blew the database away and recreated it. I then visited the URL for the redmine server, and got a ruby error page:

Internal error An error occurred on the page you were trying to access. If you continue to experience problems please contact your redMine administrator for assistance.

I've appended the log message from stdout. If I nuke the _session_id cookie, then everything is ok again.

Processing WelcomeController#index (for 98.216.109.205 at 2008-03-11 03:21:01) [GET]
Session ID: 0bc577c41a0f4ba920156f0e6b4bbd16
Parameters: {"action"=>"index", "controller"=>"welcome"}

ActiveRecord::RecordNotFound (Couldn't find User with ID=3):
/opt/csw/lib/ruby/gems/1.8/gems/activerecord-1.15.5/lib/active_record/base.rb:1031:in `find_one'
/opt/csw/lib/ruby/gems/1.8/gems/activerecord-1.15.5/lib/active_record/base.rb:1014:in `find_from_ids'
/opt/csw/lib/ruby/gems/1.8/gems/activerecord-1.15.5/lib/active_record/base.rb:419:in `find'
/home/rbuser/sandbox/redmine-0.6/app/controllers/application.rb:34:in `user_setup'
/opt/csw/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/filters.rb:469:in `send'
/opt/csw/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/filters.rb:469:in `call'
/opt/csw/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/filters.rb:442:in `run'
/opt/csw/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/filters.rb:714:in `run_before_filters'
/opt/csw/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/filters.rb:694:in `call_filters'
/opt/csw/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/filters.rb:688:in `perform_action_without_benchmark'
/opt/csw/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue'
/opt/csw/lib/ruby/1.8/benchmark.rb:293:in `measure'
/opt/csw/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue'
/opt/csw/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/rescue.rb:83:in `perform_action'
/opt/csw/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/base.rb:435:in `send'
/opt/csw/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/base.rb:435:in `process_without_filters'
/opt/csw/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/filters.rb:684:in `process_without_session_management_support'
/opt/csw/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/session_management.rb:114:in `process'
/opt/csw/lib/ruby/gems/1.8/gems/actionpack-1.13.5/lib/action_controller/base.rb:334:in `process'
/opt/csw/lib/ruby/gems/1.8/gems/rails-1.2.5/lib/dispatcher.rb:41:in `dispatch'
/opt/csw/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:76:in `process'
/opt/csw/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `synchronize'
/opt/csw/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:74:in `process'
/opt/csw/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:159:in `process_client'
/opt/csw/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `each'
/opt/csw/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:158:in `process_client'
/opt/csw/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run'
/opt/csw/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `initialize'
/opt/csw/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `new'
/opt/csw/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:285:in `run'
/opt/csw/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `initialize'
/opt/csw/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `new'
/opt/csw/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel.rb:268:in `run'
/opt/csw/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:282:in `run'
/opt/csw/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `each'
/opt/csw/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/configurator.rb:281:in `run'
/opt/csw/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:128:in `run'
/opt/csw/lib/ruby/gems/1.8/gems/mongrel-1.1.4/lib/mongrel/command.rb:212:in `run'
/opt/csw/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281
/opt/csw/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:488:in `load'
/opt/csw/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:488:in `load'
/opt/csw/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:342:in `new_constants_in'
/opt/csw/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:488:in `load'
/opt/csw/lib/ruby/gems/1.8/gems/rails-1.2.5/lib/commands/servers/mongrel.rb:60
/opt/csw/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
/opt/csw/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
/opt/csw/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:495:in `require'
/opt/csw/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:342:in `new_constants_in'
/opt/csw/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:495:in `require'
/opt/csw/lib/ruby/gems/1.8/gems/rails-1.2.5/lib/commands/server.rb:39
/opt/csw/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
/opt/csw/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
script/server:3

Actions #1

Updated by Jean-Philippe Lang about 16 years ago

  • Status changed from New to Closed
  • Resolution set to Fixed

This problem is fixed in the repository (r1029).

Actions

Also available in: Atom PDF