Skip to content

Internal error 500 #25

@byZARE

Description

@byZARE

dear developers

i installed the plugin and if i want to use it i get 500 internal error.
this comes up when i click on fetch emails and then i click on add configurations, the programm crashes

Here ist the log:
Started GET "/redmine/admin/email_configurations/new" for 127.0.0.1 at 2016-08-16 09:34:52 +0200
Processing by EmailConfigurationsController#new as HTML
Current user: admin (id=1)
Rendered plugins/redmine_email_fetcher/app/views/email_configurations/_form.html.erb (8.0ms)
Rendered plugins/redmine_email_fetcher/app/views/email_configurations/new.html.erb within layouts/base (15.0ms)
Completed 500 Internal Server Error in 191ms (ActiveRecord: 25.0ms)

ActionView::Template::Error (undefined method humanize' for nil:NilClass): 12: <p><%= f.select :flg_active, [['True', 'true'], ['False', 'false']], 13: { label: l(:field_flg_active), required: true } %> </p> 14: 15: <p> 16: <%= f.label '', { label: l(:field_last_fetch_at) } %> 17: <%- if @email_configuration.last_fetch_at.nil? %> 18: <%= '---' %> config/initializers/10-patches.rb:18:inhuman_attribute_name'
plugins/redmine_email_fetcher/app/views/email_configurations/_form.html.erb:15:in block in _plugins_redmine_email_fetcher_app_views_email_configurations__form_html_erb___998869291_57151656' app/helpers/application_helper.rb:1051:inlabelled_form_for'
plugins/redmine_email_fetcher/app/views/email_configurations/_form.html.erb:1:in _plugins_redmine_email_fetcher_app_views_email_configurations__form_html_erb___998869291_57151656' plugins/redmine_email_fetcher/app/views/email_configurations/new.html.erb:3:in_plugins_redmine_email_fetcher_app_views_email_configurations_new_html_erb__939175692_48632388'
plugins/redmine_email_fetcher/app/controllers/email_configurations_controller.rb:32:in new' lib/redmine/sudo_mode.rb:63:insudo_mode'

Started GET "/redmine/admin/email_configurations/new" for 127.0.0.1 at 2016-08-16 09:35:00 +0200
Processing by EmailConfigurationsController#new as HTML
Current user: admin (id=1)
Rendered plugins/redmine_email_fetcher/app/views/email_configurations/_form.html.erb (14.0ms)
Rendered plugins/redmine_email_fetcher/app/views/email_configurations/new.html.erb within layouts/base (20.0ms)
Completed 500 Internal Server Error in 87ms (ActiveRecord: 28.0ms)

ActionView::Template::Error (undefined method humanize' for nil:NilClass): 12: <p><%= f.select :flg_active, [['True', 'true'], ['False', 'false']], 13: { label: l(:field_flg_active), required: true } %> </p> 14: 15: <p> 16: <%= f.label '', { label: l(:field_last_fetch_at) } %> 17: <%- if @email_configuration.last_fetch_at.nil? %> 18: <%= '---' %> config/initializers/10-patches.rb:18:inhuman_attribute_name'
plugins/redmine_email_fetcher/app/views/email_configurations/_form.html.erb:15:in block in _plugins_redmine_email_fetcher_app_views_email_configurations__form_html_erb__591721709_54631896' app/helpers/application_helper.rb:1051:inlabelled_form_for'
plugins/redmine_email_fetcher/app/views/email_configurations/_form.html.erb:1:in _plugins_redmine_email_fetcher_app_views_email_configurations__form_html_erb__591721709_54631896' plugins/redmine_email_fetcher/app/views/email_configurations/new.html.erb:3:in_plugins_redmine_email_fetcher_app_views_email_configurations_new_html_erb__910021370_54736716'
plugins/redmine_email_fetcher/app/controllers/email_configurations_controller.rb:32:in new' lib/redmine/sudo_mode.rb:63:insudo_mode'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions