Error #256

I click Milestones menu then 500 internal error occured.

Added by Ki Won Kim about 14 years ago. Updated over 13 years ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:
Detected on version:
Redmine version:


I click Milestones menu in project->settings->Milestones or in Roadmap->Milestones
then 500 internal error returned.

my environments are
Redmine 0.9.3
Advanced roadmap 0.0.6

About your application's environment
Ruby version 1.8.7 (i386-mingw32)
RubyGems version 1.3.5
Rack version 1.0
Rails version 2.3.5
Active Record version 2.3.5
Active Resource version 2.3.5
Action Mailer version 2.3.5
Active Support version 2.3.5
Application root D:/CI/Redmine
Environment production
Database adapter mysql
Database schema version 20100221100219

About your Redmine plugins
Redmine Stealth plugin 0.1.0
Screenshot Paste 1.0.2
Redmine Schedules plugin 0.4.2
Bulk Time Entry 0.5.0
Issues XLS export 0.0.3
Redmine Code Review plugin 0.3.0
ezFAQ plugin 0.3.5
Timesheet Plugin 0.6.0
Libsvn 0.0.1
Redmine Graphs plugin 0.1.0
Scrumdashboard plugin 1.2
Charts Plugin 0.0.14
Advanced roadmap plugin 0.0.6
Thumbnails plugin 0.1.1
Redmine Checkout plugin 0.3
Tab Plugin 0.3.1
Redmine Question plugin 0.3.0
Redmine Bugcloud plugin
Redmine Wiki Issue Details plugin 0.1.0

error log below ======================================
ActionView::TemplateError (undefined method `show_value' for #<ActionView::Base:0x92620f8>) on line #11 of app/views/versions/_overview.rhtml:
8: <ul>
9: <% version.custom_values.each do |custom_value| >
10: <
if !custom_value.value.blank? >
11: <li><
=h >: <=h show_value(custom_value) ></li>
12: <
end >
13: <
end %>
14: </ul>

app/views/versions/_overview.rhtml:11:in `_run_rhtml_app47views47versions47_overview46rhtml_locals_object_overview_version'
app/views/versions/_overview.rhtml:9:in `_run_rhtml_app47views47versions47_overview46rhtml_locals_object_overview_version'
vendor/plugins/advanced_roadmap/app/views/milestones/show.rhtml:70:in `_run_rhtml_vendor47plugins47advanced_roadmap47app47views47milestones47show46rhtml'
vendor/plugins/advanced_roadmap/app/views/milestones/show.rhtml:64:in `_run_rhtml_vendor47plugins47advanced_roadmap47app47views47milestones47show46rhtml'
D:/CI/Ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
D:/CI/Ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
D:/CI/Ruby/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
D:/CI/Ruby/lib/ruby/1.8/webrick/server.rb:162:in `start'
D:/CI/Ruby/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
D:/CI/Ruby/lib/ruby/1.8/webrick/server.rb:95:in `start'
D:/CI/Ruby/lib/ruby/1.8/webrick/server.rb:92:in `each'
D:/CI/Ruby/lib/ruby/1.8/webrick/server.rb:92:in `start'
D:/CI/Ruby/lib/ruby/1.8/webrick/server.rb:23:in `start'
D:/CI/Ruby/lib/ruby/1.8/webrick/server.rb:82:in `start'

Rendering D:/CI/Redmine/public/500.html (500 Internal Server Error)


Updated by Andrew Rudenko almost 14 years ago

I've the same error,
to fix, just add two lines helper :custom_fields and include CustomFieldsHelper after before_filters and before def show method into vendor/plugins/advanced_roadmap/app/controllers/milestones_controller.rb

class MilestonesController < ApplicationController

  menu_item :roadmap
  before_filter :find_project, :only => [:add]
  before_filter :find_milestone, :except => [:add]
  before_filter :authorize, :except => [:show]

  helper :custom_fields
  include CustomFieldsHelper

  def show


Updated by Emilio González Montaña over 13 years ago

  • Due date set to 2010-08-23
  • Status changed from New to Resolved
  • Assignee set to Emilio González Montaña
  • Target version set to Advanced roadmap 0.1.0
  • % Done changed from 0 to 100

Thanks again Andrew.

Also available in: Atom PDF