Go to the 'Decidim Awesome' tab and select 'Scoped Admins'.
Click on 'Add a new "Scoped Admins" group'.
Click on 'Update configuration'.
Check for errors in the log file or browser if in a development environment.
Expected behavior
The configuration update
Desktop (please complete the following information):
Debian 12
firefox, chrome
0.10.2
Additional context
Modifying the code at line 26 in the config_controller.rb file.
from:
@form = form(ConfigForm).from_params(params[:config])
to:
@form = form(ConfigForm).from_params(params[:config] || {})
Describe the bug When the configuration from Scoped Admins is updated, the following error arises.
To Reproduce Steps to reproduce the behavior:
Expected behavior The configuration update
Desktop (please complete the following information):
Additional context Modifying the code at line 26 in the config_controller.rb file. from:
@form = form(ConfigForm).from_params(params[:config])
to:@form = form(ConfigForm).from_params(params[:config] || {})
Solves the problem.