Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

500 error when by adding new configuration #35

Closed
denisgolius opened this issue Dec 8, 2017 · 4 comments
Closed

500 error when by adding new configuration #35

denisgolius opened this issue Dec 8, 2017 · 4 comments

Comments

@denisgolius
Copy link

Current user: admin (id=1)
Rendered plugins/redmine_email_fetcher/app/views/email_configurations/_form.html.erb (4.5ms)
Rendered plugins/redmine_email_fetcher/app/views/email_configurations/new.html.erb within layouts/base (17.6ms)
Completed 500 Internal Server Error in 56ms (ActiveRecord: 18.2ms)

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:in human_attribute_name'
plugins/redmine_email_fetcher/app/views/email_configurations/_form.html.erb:15:in block in _plugins_redmine_email_fetcher_app_views_email_configuratio ns__form_html_erb__1117396829624187838_24086020' app/helpers/application_helper.rb:1190:in labelled_form_for'
plugins/redmine_email_fetcher/app/views/email_configurations/_form.html.erb:1:in _plugins_redmine_email_fetcher_app_views_email_configurations__form_h tml_erb__1117396829624187838_24086020' plugins/redmine_email_fetcher/app/views/email_configurations/new.html.erb:3:in plugins_redmine_email_fetcher_app_views_email_configurations_new_html
erb__3255224410208670228_24055640'
plugins/redmine_email_fetcher/app/controllers/email_configurations_controller.rb:32:in new' lib/redmine/sudo_mode.rb:63:in sudo_mode
photo_2017-12-08_09-52-29

Environment: Redmine version 3.4.3.stable Ruby version 2.3.1-p112 (2016-04-26) [x86_64-linux-gnu] Rails version 4.2.8 Environment production Database adapter Mysql2 SCM: Filesystem Redmine plugins: redmine_custom_reports 0.1.5 redmine_email_fetcher 0.3.1 redmine_issue_checklist 2.1.0 redmine_issue_template 1.0.7 redmine_lightbox2 0.4.3

percona mysql server + nginx 1.12.2&mod_passenger + Ubuntu server 16.04

@Niremizov
Copy link

Same here.

@Niremizov
Copy link

Fork https://github.com/salmanmp/redmine_email_fetcher/branches branch patch-1 works. You can use it till pull request is not merged #33

@denisgolius
Copy link
Author

Thank you! It's works! 👍

@denisgolius
Copy link
Author

default

Login or password incorrect : ( Please log in via your web browser: https://support.google.com/mail/accounts/answer/78754 (Failure))

How to authorize this app ? =)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants