Project

General

Profile

Defect #5738 ยป redmine-trace-delete-query.txt

Extract from log file. - herbert koelman, 2010-06-23 09:50

 
1
Processing QueriesController#destroy (for 174.100.84.116 at 2010-06-23 09:37:25) [POST]
2
  Session ID: 3ef77f761ee08fd7471431c4c7ba95d8
3
  Parameters: {"action"=>"destroy", "id"=>"8", "controller"=>"queries"}
4

    
5

    
6
ActiveRecord::StatementInvalid (PGError: ERROR:  relation "issues_queries" does not exist
7
:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
8
              FROM pg_attribute a LEFT JOIN pg_attrdef d
9
                ON a.attrelid = d.adrelid AND a.attnum = d.adnum
10
             WHERE a.attrelid = 'issues_queries'::regclass
11
               AND a.attnum > 0 AND NOT a.attisdropped
12
             ORDER BY a.attnum
13
):
14
    /vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:147:in `log'
15
    /vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:471:in `query'
16
    /vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:983:in `column_definitions'
17
    /vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:616:in `columns'
18
    /vendor/rails/activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb:96:in `finding_with_ambiguous_select?'
19
    /vendor/rails/activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb:15:in `construct_find_options!'
20
    /vendor/rails/activerecord/lib/active_record/associations/association_collection.rb:41:in `find'
21
    /vendor/rails/activerecord/lib/active_record/associations/association_collection.rb:308:in `find_target'
22
    /vendor/rails/activerecord/lib/active_record/associations/association_collection.rb:262:in `load_target'
23
    /vendor/rails/activerecord/lib/active_record/associations/association_collection.rb:203:in `length'
24
    /vendor/rails/activerecord/lib/active_record/associations/association_collection.rb:149:in `clear'
25
    (eval):3:in `destroy_without_callbacks'
26
    /vendor/rails/activerecord/lib/active_record/callbacks.rb:289:in `destroy_without_transactions'
27
    /vendor/rails/activerecord/lib/active_record/transactions.rb:102:in `destroy'
28
    /vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:66:in `transaction'
29
    /vendor/rails/activerecord/lib/active_record/transactions.rb:79:in `transaction'
30
    /vendor/rails/activerecord/lib/active_record/transactions.rb:98:in `transaction'
31
    /vendor/rails/activerecord/lib/active_record/transactions.rb:102:in `destroy'
32
    /app/controllers/queries_controller.rb:61:in `destroy'
33
    /vendor/rails/actionpack/lib/action_controller/base.rb:1166:in `send'
34
    /vendor/rails/actionpack/lib/action_controller/base.rb:1166:in `perform_action_without_filters'
35
    /vendor/rails/actionpack/lib/action_controller/filters.rb:579:in `call_filters'
36
    /vendor/rails/actionpack/lib/action_controller/filters.rb:572:in `perform_action_without_benchmark'
37
    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
38
    /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
39
    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
40
    /vendor/rails/actionpack/lib/action_controller/rescue.rb:201:in `perform_action_without_caching'
41
    /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13:in `perform_action'
42
    /vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache'
43
    /vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in `cache'
44
    /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:12:in `perform_action'
45
    /vendor/rails/actionpack/lib/action_controller/base.rb:529:in `send'
46
    /vendor/rails/actionpack/lib/action_controller/base.rb:529:in `process_without_filters'
47
    /vendor/rails/actionpack/lib/action_controller/filters.rb:568:in `process_without_session_management_support'
48
    /vendor/rails/actionpack/lib/action_controller/session_management.rb:130:in `process'
49
    /vendor/rails/actionpack/lib/action_controller/base.rb:389:in `process'
50
    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:149:in `handle_request'
51
    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in `dispatch'
52
    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `synchronize'
53
    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `dispatch'
54
    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi'
55
    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in `dispatch'
56
    /vendor/rails/railties/lib/webrick_server.rb:112:in `handle_dispatch'
57
    /vendor/rails/railties/lib/webrick_server.rb:78:in `service'
58
    /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
59
    /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
60
    /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
61
    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
62
    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
63
    /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
64
    /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
65
    /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
66
    /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
67
    /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
68
    /vendor/rails/railties/lib/webrick_server.rb:62:in `dispatch'
69
    /vendor/rails/railties/lib/commands/servers/webrick.rb:66
70
    /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
71
    /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
72
    /vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in `require'
73
    /vendor/rails/activesupport/lib/active_support/dependencies.rb:355:in `new_constants_in'
74
    /vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in `require'
75
    /vendor/rails/railties/lib/commands/server.rb:39
76
    /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
77
    /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
78
    script/server:3
79

    
80
Rendering /home/redadm/public/500.html (500 Internal Server Error)
    (1-1/1)