1
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
2
|
<head>
|
3
|
<title>Action Controller: Exception caught</title>
|
4
|
<style>
|
5
|
body { background-color: #fff; color: #333; }
|
6
|
|
7
|
body, p, ol, ul, td {
|
8
|
font-family: verdana, arial, helvetica, sans-serif;
|
9
|
font-size: 13px;
|
10
|
line-height: 18px;
|
11
|
}
|
12
|
|
13
|
pre {
|
14
|
background-color: #eee;
|
15
|
padding: 10px;
|
16
|
font-size: 11px;
|
17
|
}
|
18
|
|
19
|
a { color: #000; }
|
20
|
a:visited { color: #666; }
|
21
|
a:hover { color: #fff; background-color:#000; }
|
22
|
</style>
|
23
|
</head>
|
24
|
<body>
|
25
|
|
26
|
<h1>
|
27
|
NoMethodError
|
28
|
|
29
|
in IssuesController#edit
|
30
|
|
31
|
</h1>
|
32
|
<pre>undefined method `question' for #<Journal:0x46193c0></pre>
|
33
|
|
34
|
|
35
|
|
36
|
<p><code>RAILS_ROOT: C:/www/redmine/trunk/redmine</code></p>
|
37
|
|
38
|
<div id="traces">
|
39
|
|
40
|
|
41
|
<a href="#" onclick="document.getElementById('Framework-Trace').style.display='none';document.getElementById('Full-Trace').style.display='none';document.getElementById('Application-Trace').style.display='block';; return false;">Application Trace</a> |
|
42
|
|
43
|
|
44
|
<a href="#" onclick="document.getElementById('Application-Trace').style.display='none';document.getElementById('Full-Trace').style.display='none';document.getElementById('Framework-Trace').style.display='block';; return false;">Framework Trace</a> |
|
45
|
|
46
|
|
47
|
<a href="#" onclick="document.getElementById('Application-Trace').style.display='none';document.getElementById('Framework-Trace').style.display='none';document.getElementById('Full-Trace').style.display='block';; return false;">Full Trace</a>
|
48
|
|
49
|
|
50
|
|
51
|
<div id="Application-Trace" style="display: block;">
|
52
|
<pre><code>c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.1.2/lib/active_record/attribute_methods.rb:256:in `method_missing'
|
53
|
vendor/plugins/question_plugin/lib/question_issue_hooks.rb:46:in `controller_issues_edit_before_save'
|
54
|
lib/redmine/hook.rb:60:in `send'
|
55
|
lib/redmine/hook.rb:60:in `call_hook'
|
56
|
lib/redmine/hook.rb:59:in `each'
|
57
|
lib/redmine/hook.rb:59:in `call_hook'
|
58
|
lib/redmine/hook.rb:104:in `call_hook'
|
59
|
app/controllers/issues_controller.rb:184:in `edit'</code></pre>
|
60
|
</div>
|
61
|
|
62
|
<div id="Framework-Trace" style="display: none;">
|
63
|
<pre><code>c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.1.2/lib/active_record/attribute_methods.rb:256:in `method_missing'
|
64
|
vendor/plugins/question_plugin/lib/question_issue_hooks.rb:46:in `controller_issues_edit_before_save'
|
65
|
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/base.rb:1166:in `send'
|
66
|
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/base.rb:1166:in `perform_action_without_filters'
|
67
|
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/filters.rb:579:in `call_filters'
|
68
|
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/filters.rb:572:in `perform_action_without_benchmark'
|
69
|
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
|
70
|
c:/ruby/lib/ruby/1.8/benchmark.rb:293:in `measure'
|
71
|
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
|
72
|
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/rescue.rb:201:in `perform_action_without_caching'
|
73
|
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/caching/sql_cache.rb:13:in `perform_action'
|
74
|
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.1.2/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache'
|
75
|
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.1.2/lib/active_record/query_cache.rb:8:in `cache'
|
76
|
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/caching/sql_cache.rb:12:in `perform_action'
|
77
|
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/base.rb:529:in `send'
|
78
|
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/base.rb:529:in `process_without_filters'
|
79
|
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/filters.rb:568:in `process_without_session_management_support'
|
80
|
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/session_management.rb:130:in `process'
|
81
|
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/base.rb:389:in `process'
|
82
|
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/dispatcher.rb:149:in `handle_request'
|
83
|
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/dispatcher.rb:107:in `dispatch'
|
84
|
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/dispatcher.rb:104:in `synchronize'
|
85
|
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/dispatcher.rb:104:in `dispatch'
|
86
|
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi'
|
87
|
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/dispatcher.rb:35:in `dispatch'
|
88
|
c:/ruby/lib/ruby/gems/1.8/gems/rails-2.1.2/lib/webrick_server.rb:112:in `handle_dispatch'
|
89
|
c:/ruby/lib/ruby/gems/1.8/gems/rails-2.1.2/lib/webrick_server.rb:78:in `service'
|
90
|
c:/ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
|
91
|
c:/ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
|
92
|
c:/ruby/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
|
93
|
c:/ruby/lib/ruby/1.8/webrick/server.rb:162:in `start'
|
94
|
c:/ruby/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
|
95
|
c:/ruby/lib/ruby/1.8/webrick/server.rb:95:in `start'
|
96
|
c:/ruby/lib/ruby/1.8/webrick/server.rb:92:in `each'
|
97
|
c:/ruby/lib/ruby/1.8/webrick/server.rb:92:in `start'
|
98
|
c:/ruby/lib/ruby/1.8/webrick/server.rb:23:in `start'
|
99
|
c:/ruby/lib/ruby/1.8/webrick/server.rb:82:in `start'
|
100
|
c:/ruby/lib/ruby/gems/1.8/gems/rails-2.1.2/lib/webrick_server.rb:62:in `dispatch'
|
101
|
c:/ruby/lib/ruby/gems/1.8/gems/rails-2.1.2/lib/commands/servers/webrick.rb:66
|
102
|
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
|
103
|
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
|
104
|
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/dependencies.rb:510:in `require'
|
105
|
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/dependencies.rb:355:in `new_constants_in'
|
106
|
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/dependencies.rb:510:in `require'
|
107
|
c:/ruby/lib/ruby/gems/1.8/gems/rails-2.1.2/lib/commands/server.rb:39
|
108
|
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
|
109
|
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
|
110
|
script/server:3</code></pre>
|
111
|
</div>
|
112
|
|
113
|
<div id="Full-Trace" style="display: none;">
|
114
|
<pre><code>c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.1.2/lib/active_record/attribute_methods.rb:256:in `method_missing'
|
115
|
vendor/plugins/question_plugin/lib/question_issue_hooks.rb:46:in `controller_issues_edit_before_save'
|
116
|
lib/redmine/hook.rb:60:in `send'
|
117
|
lib/redmine/hook.rb:60:in `call_hook'
|
118
|
lib/redmine/hook.rb:59:in `each'
|
119
|
lib/redmine/hook.rb:59:in `call_hook'
|
120
|
lib/redmine/hook.rb:104:in `call_hook'
|
121
|
app/controllers/issues_controller.rb:184:in `edit'
|
122
|
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/base.rb:1166:in `send'
|
123
|
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/base.rb:1166:in `perform_action_without_filters'
|
124
|
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/filters.rb:579:in `call_filters'
|
125
|
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/filters.rb:572:in `perform_action_without_benchmark'
|
126
|
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
|
127
|
c:/ruby/lib/ruby/1.8/benchmark.rb:293:in `measure'
|
128
|
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
|
129
|
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/rescue.rb:201:in `perform_action_without_caching'
|
130
|
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/caching/sql_cache.rb:13:in `perform_action'
|
131
|
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.1.2/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache'
|
132
|
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.1.2/lib/active_record/query_cache.rb:8:in `cache'
|
133
|
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/caching/sql_cache.rb:12:in `perform_action'
|
134
|
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/base.rb:529:in `send'
|
135
|
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/base.rb:529:in `process_without_filters'
|
136
|
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/filters.rb:568:in `process_without_session_management_support'
|
137
|
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/session_management.rb:130:in `process'
|
138
|
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/base.rb:389:in `process'
|
139
|
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/dispatcher.rb:149:in `handle_request'
|
140
|
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/dispatcher.rb:107:in `dispatch'
|
141
|
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/dispatcher.rb:104:in `synchronize'
|
142
|
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/dispatcher.rb:104:in `dispatch'
|
143
|
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi'
|
144
|
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/dispatcher.rb:35:in `dispatch'
|
145
|
c:/ruby/lib/ruby/gems/1.8/gems/rails-2.1.2/lib/webrick_server.rb:112:in `handle_dispatch'
|
146
|
c:/ruby/lib/ruby/gems/1.8/gems/rails-2.1.2/lib/webrick_server.rb:78:in `service'
|
147
|
c:/ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
|
148
|
c:/ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
|
149
|
c:/ruby/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
|
150
|
c:/ruby/lib/ruby/1.8/webrick/server.rb:162:in `start'
|
151
|
c:/ruby/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
|
152
|
c:/ruby/lib/ruby/1.8/webrick/server.rb:95:in `start'
|
153
|
c:/ruby/lib/ruby/1.8/webrick/server.rb:92:in `each'
|
154
|
c:/ruby/lib/ruby/1.8/webrick/server.rb:92:in `start'
|
155
|
c:/ruby/lib/ruby/1.8/webrick/server.rb:23:in `start'
|
156
|
c:/ruby/lib/ruby/1.8/webrick/server.rb:82:in `start'
|
157
|
c:/ruby/lib/ruby/gems/1.8/gems/rails-2.1.2/lib/webrick_server.rb:62:in `dispatch'
|
158
|
c:/ruby/lib/ruby/gems/1.8/gems/rails-2.1.2/lib/commands/servers/webrick.rb:66
|
159
|
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
|
160
|
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
|
161
|
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/dependencies.rb:510:in `require'
|
162
|
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/dependencies.rb:355:in `new_constants_in'
|
163
|
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/dependencies.rb:510:in `require'
|
164
|
c:/ruby/lib/ruby/gems/1.8/gems/rails-2.1.2/lib/commands/server.rb:39
|
165
|
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
|
166
|
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
|
167
|
script/server:3</code></pre>
|
168
|
</div>
|
169
|
|
170
|
</div>
|
171
|
|
172
|
|
173
|
|
174
|
|
175
|
|
176
|
|
177
|
<h2 style="margin-top: 30px">Request</h2>
|
178
|
<p><b>Parameters</b>: <pre>{"time_entry"=>{"comments"=>"",
|
179
|
"activity_id"=>"",
|
180
|
"hours"=>""},
|
181
|
"commit"=>"Submit",
|
182
|
"id"=>"9",
|
183
|
"notes"=>"new question",
|
184
|
"issue"=>{"start_date"=>"2009-01-10",
|
185
|
"estimated_hours"=>"",
|
186
|
"lock_version"=>"0",
|
187
|
"priority_id"=>"4",
|
188
|
"subject"=>"new bug",
|
189
|
"category_id"=>"",
|
190
|
"description"=>"new bug desc",
|
191
|
"assigned_to_id"=>"",
|
192
|
"due_date"=>"",
|
193
|
"done_ratio"=>"0"},
|
194
|
"note"=>{"question_assigned_to"=>"anyone"},
|
195
|
"attachments"=>{"1"=>{"description"=>"",
|
196
|
"file"=>""}}}</pre></p>
|
197
|
|
198
|
<p><a href="#" onclick="document.getElementById('session_dump').style.display='block'; return false;">Show session dump</a></p>
|
199
|
<div id="session_dump" style="display:none"><pre class='debug_dump'>---
|
200
|
userslist_sort:
|
201
|
:order: asc
|
202
|
:key: login
|
203
|
:user_id: 1
|
204
|
usersindex_sort:
|
205
|
:order: asc
|
206
|
:key: login
|
207
|
issuesindex_sort:
|
208
|
:order: desc
|
209
|
:key: id
|
210
|
:query:
|
211
|
:project_id: 1
|
212
|
:filters:
|
213
|
tracker_id:
|
214
|
:values:
|
215
|
- "1"
|
216
|
:operator: "="
|
217
|
status_id:
|
218
|
:values:
|
219
|
- ""
|
220
|
:operator: o
|
221
|
flash: !map:ActionController::Flash::FlashHash {}
|
222
|
|
223
|
</pre></div>
|
224
|
|
225
|
|
226
|
<h2 style="margin-top: 30px">Response</h2>
|
227
|
<p><b>Headers</b>: <pre>{"cookie"=>[],
|
228
|
"Cache-Control"=>"no-cache"}</pre></p>
|
229
|
|
230
|
|
231
|
|
232
|
</body>
|
233
|
</html>
|