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

Cannot save settings #3

Open
Pankraty opened this issue Jul 5, 2018 · 0 comments
Open

Cannot save settings #3

Pankraty opened this issue Jul 5, 2018 · 0 comments

Comments

@Pankraty
Copy link

Pankraty commented Jul 5, 2018

I was able to install the plugin and to open the configuration page but every time I try to save my changes I get the server error.

image

The log messages are these:

Started POST "/settings/plugin/silent_statuses" for %HIDDEN% at 2018-07-06 00:39:47 +0400
Processing by SettingsController#plugin as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"%HIDDEN%", "settings"=>[""], "commit"=>"Применить", "id"=>"silent_statuses"}
  Current user: alex (id=1)
Completed 500 Internal Server Error in 25ms (ActiveRecord: 3.2ms)

NoMethodError (undefined method `permit!' for [""]:Array
Did you mean?  permutation):
  app/controllers/settings_controller.rb:70:in `plugin'
  lib/redmine/sudo_mode.rb:63:in `sudo_mode'

Environment:
Redmine version 3.4.1.stable
Ruby version 2.3.4-p301 (2017-03-30) [x86_64-linux]
Rails version 4.2.8

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

1 participant