Project

General

Profile

Actions

Defect #26393

closed

Error when unchecking all settings on some plugins configurations

Added by Keith Dickmann almost 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Category:
Administration
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

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):
app/controllers/settings_controller.rb:70:in `plugin'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'


Files

test_plugin.tar.gz (1.11 KB) test_plugin.tar.gz Keith Dickmann, 2017-07-10 05:46
Actions

Also available in: Atom PDF