Project

General

Profile

Actions

Defect #7665

closed

Error 500

Added by Thibaut Cuvelier over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-02-20
Due date:
% Done:

0%

Estimated time:
Resolution:
Duplicate
Affected version:

Description

Trying to update my Redmine installation to 1.1.x, I'm having trouble with project's show, i.e. when trying to reach URLs like http://localhost/projects/launch.

I'm using Ruby 1.8.7, MySQL 5.0.84, Rails 2.3.5 on both Redmine 1.1.0 and 1.1.1 (r4888, said 1.1-stable). Here is the corresponding log:

Processing ProjectsController#show (for localhost at 2011-02-20 14:23:04) [GET]
  Parameters: {"action"=>"show", "id"=>"launch", "controller"=>"projects"}
Rendering template within layouts/base
Rendering projects/show

ActionView::TemplateError (undefined method `visible_custom_field_values' for #<Project:0x7f38a8040eb0>) on line #19 of app/views/projects/show.rhtml:
16:      <li><%=l(:label_subproject_plural)%>:
17:         <%= @subprojects.collect{|p| link_to(h(p), :action => 'show', :id => p)}.join(", ") %></li>
18:   <% end %>
19:     <% @project.visible_custom_field_values.each do |custom_value| %>
20:     <% if !custom_value.value.blank? %>
21:        <li><%= custom_value.custom_field.name%>: <%=h show_value(custom_value) %></li>
22:     <% end %>

    app/views/projects/show.rhtml:19:in `_run_rhtml_app47views47projects47show46rhtml'
    app/controllers/projects_controller.rb:166:in `show'
    passenger (2.2.3) lib/phusion_passenger/rack/request_handler.rb:91:in `process_request'
    passenger (2.2.3) lib/phusion_passenger/abstract_request_handler.rb:206:in `main_loop'
    passenger (2.2.3) lib/phusion_passenger/railz/application_spawner.rb:376:in `start_request_handler'
    passenger (2.2.3) lib/phusion_passenger/railz/application_spawner.rb:334:in `handle_spawn_application'
    passenger (2.2.3) lib/phusion_passenger/utils.rb:182:in `safe_fork'
    passenger (2.2.3) lib/phusion_passenger/railz/application_spawner.rb:332:in `handle_spawn_application'
    passenger (2.2.3) lib/phusion_passenger/abstract_server.rb:351:in `__send__'
    passenger (2.2.3) lib/phusion_passenger/abstract_server.rb:351:in `main_loop'
    passenger (2.2.3) lib/phusion_passenger/abstract_server.rb:195:in `start_synchronously'
    passenger (2.2.3) lib/phusion_passenger/abstract_server.rb:162:in `start'
    passenger (2.2.3) lib/phusion_passenger/railz/application_spawner.rb:213:in `start'
    passenger (2.2.3) lib/phusion_passenger/spawn_manager.rb:261:in `spawn_rails_application'
    passenger (2.2.3) lib/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
    passenger (2.2.3) lib/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application'
    passenger (2.2.3) lib/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
    passenger (2.2.3) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
    passenger (2.2.3) lib/phusion_passenger/spawn_manager.rb:254:in `spawn_rails_application'
    passenger (2.2.3) lib/phusion_passenger/spawn_manager.rb:153:in `spawn_application'
    passenger (2.2.3) lib/phusion_passenger/spawn_manager.rb:286:in `handle_spawn_application'
    passenger (2.2.3) lib/phusion_passenger/abstract_server.rb:351:in `__send__'
    passenger (2.2.3) lib/phusion_passenger/abstract_server.rb:351:in `main_loop'
    passenger (2.2.3) lib/phusion_passenger/abstract_server.rb:195:in `start_synchronously'

For both, I unpacked/checked out the Redmine version in its own directory, then made Apache look in that folder for Redmine. So, it seems every single file is updated.

Did I do something wrong? Is there any bug? If you need any other detail, feel free to ask.


Related issues

Is duplicate of Redmine - Defect #7297: Undefined method `visible_custom_field_values' in projects/show.rhtmlClosed2011-01-11

Actions
Actions #1

Updated by Jean-Philippe Lang over 13 years ago

  • Status changed from New to Closed
  • Resolution set to Duplicate

Same as #7297.

Actions

Also available in: Atom PDF