I'm looking for a part-time remote job.

Hire me


I'm the author of:

Mastering Redmine is a comprehensive guide with tips, tricks and best practices, and an easy-to-learn structure.

Check the book's project or

Buy the book

Social pages of the book:

By buying this book you also donate to Redmine (see this page).


Follow me:

Support #2161

Internal error On New Issues tab

Added by Christi Cummings about 11 years ago. Updated almost 10 years ago.

Status:
In Progress
Priority:
Critical
Assignee:
Category:
-
Target version:
-
Start date:
06 Mar 2013
Due date:
% Done:

0%

Redmine version:
External issue:

Description

Currently cannot input any new issues with this plugin
below is what the log reads.

Completed 200 OK in 1172ms (Views: 937.4ms | ActiveRecord: 78.1ms)
Started GET "/redmine/custom_fields/new?type=IssueCustomField" for 127.0.0.1 at 2013-03-06 11:04:51 -0600
Processing by CustomFieldsController#new as HTML
  Parameters: {"type"=>"IssueCustomField"}
  Current user: christi (id=1)
  Rendered plugins/extended_fields/app/views/custom_fields/_extended.html.erb (15.6ms)
  Rendered custom_fields/_form.html.erb (31.2ms)
  Rendered custom_fields/new.html.erb within layouts/admin (46.9ms)
Completed 500 Internal Server Error in 47ms

ActionView::Template::Error (undefined method `hint' for #<IssueCustomField:0x2995020>):
    21: 
    22: <% end %>
    23: 
    24: <p><%= form.text_field(:hint, :size => 50) %></p>
    25: 
    26: <!-- Rails 3 + jQuery -->
    27: <% unless defined? observe_field %>
  lib/redmine/views/labelled_form_builder.rb:31:in `text_field'
  lib/redmine/hook.rb:111:in `block in render_on'
  lib/redmine/hook.rb:61:in `block (2 levels) in call_hook'
  lib/redmine/hook.rb:61:in `each'
  lib/redmine/hook.rb:61:in `block in call_hook'
  lib/redmine/hook.rb:58:in `tap'
  lib/redmine/hook.rb:58:in `call_hook'
  lib/redmine/hook.rb:158:in `call_hook'
  app/views/custom_fields/_form.html.erb:29:in `_app_views_custom_fields__form_html_erb___723482694_23243244'
  app/views/custom_fields/new.html.erb:6:in `block in _app_views_custom_fields_new_html_erb___727831247_21869232'
  app/helpers/application_helper.rb:990:in `labelled_form_for'
  app/views/custom_fields/new.html.erb:5:in `_app_views_custom_fields_new_html_erb___727831247_21869232'


Related issues

Related to Extended Fields - Bug #2299: 500 internal error on 2.4.5 Won't Fix 03 Jun 2014

History

#1 Updated by Christi Cummings about 11 years ago

I am sorry this happens when I go to create a custom field under admin

#2 Updated by Andriy Lesyuk almost 11 years ago

  • Status changed from New to Incomplete
  • Assignee set to Andriy Lesyuk
  • Target version set to 0.2.2

I’m very sorry for the late reply.

Looks like you have not executed rake redmine:plugins:migrate RAILS_ENV=production during installation... Have you?

#3 Updated by Andriy Lesyuk over 10 years ago

  • Target version deleted (0.2.2)

#4 Updated by Andriy Lesyuk over 10 years ago

  • Tracker changed from Bug to Support

#5 Updated by Andriy Lesyuk almost 10 years ago

Christi, are you using PostgreSQL, maybe?

#6 Updated by Christi Cummings almost 10 years ago

We use the Bitnami download of Redmine.

#7 Updated by Cedric Courant almost 10 years ago

Hello, i’ve got the same behavior.
By the way, i tested with the bitnami stack 2.4.3, 2.5.0, 2.5.1 and got the same error after upgrading the database and restart the server.

More over after the plugin installed, in the admin panel, the project and user pages are no longer available due to an sql query on a user_listing table.

Hope that can be helpful to debug....

#8 Updated by Cedric Courant almost 10 years ago

I noticed that the database name is bitnami_redmine in the stack and not redmine instead of.

The db migration is not performing correctly...

#9 Updated by Cedric Courant almost 10 years ago

redmine:plugins RAILS_ENV=production works perfectly in fact

#10 Updated by Andriy Lesyuk almost 10 years ago

  • Status changed from Incomplete to In Progress

Weird... DB migration script is rather simple... Not sure why it can fail. Will research more.

#11 Updated by Andriy Lesyuk almost 10 years ago

Cedric Courant wrote:

redmine:plugins RAILS_ENV=production works perfectly in fact

You mean: rake redmine:plugins:migrate RAILS_ENV=production ?

#12 Updated by Cedric Courant almost 10 years ago

actually this is the command given by the bitnami redmine website and it works, however maybe the one you provided work as well but i didn’t test it...

Also available in: Atom PDF

Terms of use | Privacy policy