Project

General

Profile

Error #1561

undefined method `milestone_effective_date' when i try to create new milestone.

Added by Gabriel Bustos 3 months ago.

Status:
New
Priority:
Normal
Category:
Milestones
Start date:
Due date:
% Done:

0%

Estimated time:
Source:
Customer
Detected on version:
Redmine version:
Milestones:

Description

Hello Emilio...¿Can you help me with this error?undefined method `milestone_effective_date' when i try to create new milestone.

My environment is:
Environment:
Redmine version 3.4.11.stable
Ruby version 2.5.1-p57 (2018-03-29) [x86_64-linux-gnu]
Rails version 4.2.11.1
Environment production
Database adapter Mysql2
--
advanced_roadmap 0.11.0 (I Have installed some patch to make it work)
--
Started GET "/projects/demo-conceptual/milestones/new?back_url=" for 181.10.244.162 at 2019-07-19 17:52:40 +0000
Processing by MilestonesController#new as HTML
Parameters: {"back_url"=>"", "project_id"=>"demo-conceptual"}
Current user: admin (id=1)
Rendered plugins/advanced_roadmap/app/views/milestones/_form.html.erb (16.0ms)
Rendered plugins/advanced_roadmap/app/views/milestones/new.html.erb within layouts/base (16.7ms)
Completed 500 Internal Server Error in 32ms (ActiveRecord: 5.5ms)

ActionView::Template::Error (undefined method `milestone_effective_date' for #<Milestone:0x00007fe6f6521360>
Did you mean? restore_effective_date!):
4: <p><%= f.text_field :name, :size => 60, :required => true %></p>
5: <p><%= f.text_field :description, :size => 60 %></p>
6: <p>
7: <%= f.text_field :milestone_effective_date, :size => 10, :label => l(:field_effective_date) %>
8: <%= calendar_for('milestone.milestone_effective_date') %>
9: </p>
10: <p>
lib/redmine/views/labelled_form_builder.rb:31:in `text_field'
plugins/advanced_roadmap/app/views/milestones/_form.html.erb:7:in `_plugins_advanced_roadmap_app_views_milestones__form_html_erb___2884108955716628628_47175405579520'
plugins/advanced_roadmap/app/views/milestones/new.html.erb:4:in `block in plugins_advanced_roadmap_app_views_milestones_new_html_erb_434462228530410047_47175403774880'
app/helpers/application_helper.rb:1190:in `labelled_form_for'

Also available in: Atom PDF