Vote #78622
完了Error when unchecking all settings on some plugins configurations
0%
説明
To Reproduce
1 - install a plugin that only as checkboxes on it settings page (or use uploaded test plugin)
2 - check everything and save
3 - uncheck everything and save
4 - crash
NoMethodError (undefined method permit!' for nil:NilClass):plugin'
app/controllers/settings_controller.rb:70:in
lib/redmine/sudo_mode.rb:63:in `sudo_mode'
journals
--------------------------------------------------------------------------------
It works on Redmine 3.2 and 3.3.
--------------------------------------------------------------------------------
Fixed in r16812, thanks for pointing this out.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------