Defect #26393
closed
Error when unchecking all settings on some plugins configurations
Added by Keith Dickmann almost 9 years ago.
Updated almost 9 years ago.
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
- Status changed from New to Confirmed
- Target version set to 3.4.2
It works on Redmine 3.2 and 3.3.
- Subject changed from Plugin settings page exception if uncheck all with checkbox only settings to Error when unchecking all settings on some plugins configurations
- Category set to Administration
- Status changed from Confirmed to Resolved
- Assignee set to Jean-Philippe Lang
- Resolution set to Fixed
Fixed in r16812, thanks for pointing this out.
- Status changed from Resolved to Closed
Also available in: Atom
PDF