Project

General

Profile

RE: Plugin to alter Redmine trunk behavior » 9.htm

error at creation - gabriel scolan, 2009-01-10 14:56

 
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 #&lt;Journal:0x46193c0&gt;</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>{&quot;time_entry&quot;=&gt;{&quot;comments&quot;=&gt;&quot;&quot;,
179
 &quot;activity_id&quot;=&gt;&quot;&quot;,
180
 &quot;hours&quot;=&gt;&quot;&quot;},
181
 &quot;commit&quot;=&gt;&quot;Submit&quot;,
182
 &quot;id&quot;=&gt;&quot;9&quot;,
183
 &quot;notes&quot;=&gt;&quot;new question&quot;,
184
 &quot;issue&quot;=&gt;{&quot;start_date&quot;=&gt;&quot;2009-01-10&quot;,
185
 &quot;estimated_hours&quot;=&gt;&quot;&quot;,
186
 &quot;lock_version&quot;=&gt;&quot;0&quot;,
187
 &quot;priority_id&quot;=&gt;&quot;4&quot;,
188
 &quot;subject&quot;=&gt;&quot;new bug&quot;,
189
 &quot;category_id&quot;=&gt;&quot;&quot;,
190
 &quot;description&quot;=&gt;&quot;new bug desc&quot;,
191
 &quot;assigned_to_id&quot;=&gt;&quot;&quot;,
192
 &quot;due_date&quot;=&gt;&quot;&quot;,
193
 &quot;done_ratio&quot;=&gt;&quot;0&quot;},
194
 &quot;note&quot;=&gt;{&quot;question_assigned_to&quot;=&gt;&quot;anyone&quot;},
195
 &quot;attachments&quot;=&gt;{&quot;1&quot;=&gt;{&quot;description&quot;=&gt;&quot;&quot;,
196
 &quot;file&quot;=&gt;&quot;&quot;}}}</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
&nbsp; :order: asc
202
&nbsp; :key: login
203
:user_id: 1
204
usersindex_sort: 
205
&nbsp; :order: asc
206
&nbsp; :key: login
207
issuesindex_sort: 
208
&nbsp; :order: desc
209
&nbsp; :key: id
210
:query: 
211
&nbsp; :project_id: 1
212
&nbsp; :filters: 
213
&nbsp; &nbsp; tracker_id: 
214
&nbsp; &nbsp; &nbsp; :values: 
215
&nbsp; &nbsp; &nbsp; - &quot;1&quot;
216
&nbsp; &nbsp; &nbsp; :operator: &quot;=&quot;
217
&nbsp; &nbsp; status_id: 
218
&nbsp; &nbsp; &nbsp; :values: 
219
&nbsp; &nbsp; &nbsp; - &quot;&quot;
220
&nbsp; &nbsp; &nbsp; :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>{&quot;cookie&quot;=&gt;[],
228
 &quot;Cache-Control&quot;=&gt;&quot;no-cache&quot;}</pre></p>
229

    
230

    
231

    
232
</body>
233
</html>
(3-3/3)