luismaia / redmine_email_fetcher

Redmine plugin that extends the Redmine Receiving emails functionality by allowing the configuration of email accounts from where emails should be periodically fetched
23 stars 25 forks source link

Email fetcher add configuration issue #31

Open kailashr2k3 opened 7 years ago

kailashr2k3 commented 7 years ago

I am getting the following error in the portal when I try to add a configuration. The error message says that to check the log, but don't know which log to check. Can help advice on this below error message?

_Internal error

An error occurred on the page you were trying to access. If you continue to experience problems please contact your Redmine administrator for assistance.

If you are the Redmine administrator, check your log files for details about the error._

kailashr2k3 commented 7 years ago

More information from the log

Completed 500 Internal Server Error in 14ms (ActiveRecord: 5.5ms)

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_f$ 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$ plugins/redmine_email_fetcher/app/views/email_configurations/new.html.erb:3:in_plugins_redmine_email_fetcher_app_v$ plugins/redmine_email_fetcher/app/controllers/email_configurations_controller.rb:32:in new' lib/redmine/sudo_mode.rb:63:insudo_mode'

TyRoden commented 7 years ago

I am getting the same error. Compatibility with the current version perhaps?

zealsara commented 6 years ago

hi am getting the same error.. what is the solution

jorv83 commented 6 years ago

See my comment in #32

octoquad commented 5 years ago

A fix is available in #33 and I have requested that a PR be created at https://github.com/octoquad/redmine_email_fetcher instead.