Project

General

Profile

Defect #4206 » Wiki-new.log

New Wiki issue, happens when clicking on a wiki link to a nonexistant page - Johan De Meersman, 2009-11-12 16:14

 
1
Processing WikiController#index (for 10.194.169.220 at 2009-11-12 15:38:40) [GET]
2
  Session ID: f20ae51cf1c84eb1037e29c0765e00f5
3
  Parameters: {"action"=>"index", "id"=>"epg", "page"=>"100", "controller"=>"wiki"}
4
  ESC[4;36;1mSQL (0.000882)ESC[0m   ESC[0;1mSELECT max(`settings`.updated_on) AS max_updated_on FROM `settings` ESC[0m
5
  ESC[4;35;1mUser Load (0.000472)ESC[0m   ESC[0mSELECT * FROM `users` WHERE (`users`.`id` = 5) AND (users.status = 1) ESC[0m
6
  ESC[4;36;1mProject Load (0.000177)ESC[0m   ESC[0;1mSELECT * FROM `projects` WHERE (`projects`.`identifier` = 'epg') LIMIT 1ESC[0m
7
  ESC[4;35;1mWiki Load (0.000182)ESC[0m   ESC[0mSELECT * FROM `wikis` WHERE (`wikis`.project_id = 106) LIMIT 1ESC[0m
8
  ESC[4;36;1mEnabledModule Load (0.000500)ESC[0m   ESC[0;1mSELECT * FROM `enabled_modules` WHERE (`enabled_modules`.project_id = 106) ESC[0m
9
  ESC[4;35;1mWikiPage Load (0.000427)ESC[0m   ESC[0mSELECT * FROM `wiki_pages` WHERE (`wiki_pages`.`title` = '100') AND (`wiki_pages`.wiki_id = 61) ORDER BY 
10
  ESC[4;36;1mWikiRedirect Load (0.000249)ESC[0m   ESC[0;1mSELECT * FROM `wiki_redirects` WHERE (`wiki_redirects`.`title` = '100') AND (`wiki_redirects`.wiki_
11
  ESC[4;35;1mCACHE (0.000000)ESC[0m   ESC[0mSELECT * FROM `wiki_pages` WHERE (`wiki_pages`.`title` = '100') AND (`wiki_pages`.wiki_id = 61) ORDER BY title LI
12
  ESC[4;36;1mCACHE (0.000000)ESC[0m   ESC[0;1mSELECT * FROM `wiki_redirects` WHERE (`wiki_redirects`.`title` = '100') AND (`wiki_redirects`.wiki_id = 61) LIM
13

    
14

    
15
NoMethodError (undefined method `protected?' for #<WikiPage id: nil, wiki_id: 61, title: "100", created_on: nil>):
16
    /vendor/rails/activerecord/lib/active_record/attribute_methods.rb:251:in `method_missing'
17
    /app/models/wiki_page.rb:112:in `editable_by?'
18
    /app/controllers/wiki_controller.rb:203:in `editable?'
19
    /app/controllers/wiki_controller.rb:63:in `edit'
20
    /app/controllers/wiki_controller.rb:35:in `index'
21
    /vendor/rails/actionpack/lib/action_controller/base.rb:1166:in `send'
22
    /vendor/rails/actionpack/lib/action_controller/base.rb:1166:in `perform_action_without_filters'
23
    /vendor/rails/actionpack/lib/action_controller/filters.rb:579:in `call_filters'
24
    /vendor/rails/actionpack/lib/action_controller/filters.rb:572:in `perform_action_without_benchmark'
25
    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
26
    /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
27
    /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
28
    /vendor/rails/actionpack/lib/action_controller/rescue.rb:201:in `perform_action_without_caching'
29
    /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13:in `perform_action'
30
    /vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache'
31
    /vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in `cache'
32
    /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:12:in `perform_action'
33
    /vendor/rails/actionpack/lib/action_controller/base.rb:529:in `send'
34
    /vendor/rails/actionpack/lib/action_controller/base.rb:529:in `process_without_filters'
35
    /vendor/rails/actionpack/lib/action_controller/filters.rb:568:in `process_without_session_management_support'
36
    /vendor/rails/actionpack/lib/action_controller/session_management.rb:130:in `process'
37
    /vendor/rails/actionpack/lib/action_controller/base.rb:389:in `process'
38
    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:149:in `handle_request'
39
    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in `dispatch'
40
    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `synchronize'
41
    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `dispatch'
42
    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi'
43
    /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in `dispatch'
44
    /vendor/rails/railties/lib/webrick_server.rb:112:in `handle_dispatch'
45
    /vendor/rails/railties/lib/webrick_server.rb:78:in `service'
46
    /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
47
    /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
48
    /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
49
    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
50
    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
51
    /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
52
    /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
53
    /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
54
    /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
55
    /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
56
    /vendor/rails/railties/lib/webrick_server.rb:62:in `dispatch'
57
    /vendor/rails/railties/lib/commands/servers/webrick.rb:66
58
    /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
59
    /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require'
60
    /vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in `require'
61
    /vendor/rails/activesupport/lib/active_support/dependencies.rb:355:in `new_constants_in'
62
    /vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in `require'
63
    /vendor/rails/railties/lib/commands/server.rb:39
64
    /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
65
    /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require'
66
    /opt/redmine/script/server:3
67

    
68
Rendering /opt/redmine-0.8.5/public/500.html (500 Internal Server Error)
(3-3/4)