Project

General

Profile

Actions

Defect #5346

closed

Internal error 500 when updating an existing issue

Added by Arturo Díaz-Almagro about 14 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
2010-04-19
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

I posted this same error on the forum previosly to put it as an issue. Since last friday I got no answer so I guessed nobody knows about the problem.

The behaviour is the next:
  1. Create a new issue.
  2. Modify the issue inserting a note text and save.
  3. After saving, the browser shows a Internal Error (500) web page.
    If you go to the Issues tab and press on that issue you get the same error page. Apparently, the modifications are saved into the database.
Processing IssuesController#show (for 193.147.53.229 at 2010-04-19 11:43:21) [GET]
  Parameters: {"action"=>"show", "id"=>"13", "controller"=>"issues"}
Rendering template within layouts/base
Rendering issues/show.rhtml

ActionView::TemplateError (undefined local variable or method `issue' for #<ActionView::Base:0x7f26df0ce178>) on line #16 of app/views/issues/_history.rhtml:
13:       <% end %>
14:     </ul>
15:     <% end %>
16:     <%= render_notes(issue, journal, :reply_links => reply_links) unless journal.notes.blank? %>
17:   </div>
18:   <%= call_hook(:view_issues_history_journal_bottom, { :journal => journal }) %>
19: <% end %>

    app/views/issues/_history.rhtml:16:in `_run_rhtml_app47views47issues47_history46rhtml_locals_history_journals_object'
    app/views/issues/_history.rhtml:2:in `each'
    app/views/issues/_history.rhtml:2:in `_run_rhtml_app47views47issues47_history46rhtml_locals_history_journals_object'
    vendor/plugins/advanced_roadmap/app/views/issues/show.rhtml:94:in `_run_rhtml_vendor47plugins47advanced_roadmap47app47views47issues47show46rhtml'
    app/controllers/issues_controller.rb:120:in `show'
    app/controllers/issues_controller.rb:119:in `show'
    passenger (2.2.11) lib/phusion_passenger/rack/request_handler.rb:92:in `process_request'
    passenger (2.2.11) lib/phusion_passenger/abstract_request_handler.rb:207:in `main_loop'
    passenger (2.2.11) lib/phusion_passenger/railz/application_spawner.rb:418:in `start_request_handler'
    passenger (2.2.11) lib/phusion_passenger/railz/application_spawner.rb:358:in `handle_spawn_application'
    passenger (2.2.11) lib/phusion_passenger/utils.rb:184:in `safe_fork'
    passenger (2.2.11) lib/phusion_passenger/railz/application_spawner.rb:354:in `handle_spawn_application'
    passenger (2.2.11) lib/phusion_passenger/abstract_server.rb:352:in `__send__'
    passenger (2.2.11) lib/phusion_passenger/abstract_server.rb:352:in `main_loop'
    passenger (2.2.11) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
    passenger (2.2.11) lib/phusion_passenger/abstract_server.rb:163:in `start'
    passenger (2.2.11) lib/phusion_passenger/railz/application_spawner.rb:213:in `start'
    passenger (2.2.11) lib/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application'
    passenger (2.2.11) lib/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
    passenger (2.2.11) lib/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application'
    passenger (2.2.11) lib/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
    passenger (2.2.11) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
    passenger (2.2.11) lib/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application'
    passenger (2.2.11) lib/phusion_passenger/spawn_manager.rb:154:in `spawn_application'
    passenger (2.2.11) lib/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application'
    passenger (2.2.11) lib/phusion_passenger/abstract_server.rb:352:in `__send__'
    passenger (2.2.11) lib/phusion_passenger/abstract_server.rb:352:in `main_loop'
    passenger (2.2.11) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'

Rendering /opt/redmine/public/500.html (500 Internal Server Error)


Files

fix-advanced-roadmap.patch (526 Bytes) fix-advanced-roadmap.patch Wael Nasreddine, 2010-05-17 15:11
Actions

Also available in: Atom PDF