Support #2161
Internal error On New Issues tab
0%
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
History
#1 Updated by Christi Cummings almost 12 years ago
I am sorry this happens when I go to create a custom field under admin
#2 Updated by Andriy Lesyuk over 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 11 years ago
- Target version deleted (
0.2.2)
#4 Updated by Andriy Lesyuk over 11 years ago
- Tracker changed from Bug to Support
#5 Updated by Andriy Lesyuk over 10 years ago
Christi, are you using PostgreSQL, maybe?
#6 Updated by Christi Cummings over 10 years ago
We use the Bitnami download of Redmine.
#7 Updated by Cedric Courant over 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 over 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 over 10 years ago
redmine:plugins RAILS_ENV=production works perfectly in fact
#10 Updated by Andriy Lesyuk over 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 over 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 over 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...