Problem/Motivation

Install the module, there is no default configuration file in the module, also no schema description for the configuration.
When you save the settings form, unessecarry null values are saved.
for example "token_auth'' is a fieldset, but it's value is retrieved from form state and set to save (which is null).

Steps to reproduce

Install the module, edit the setting and save them.

Proposed resolution

Add a config/install/matomo_reports.matomoreportssettings.yml file.
Add a schema description for the settings.
Implement proper config form mapping between form fields and config settings. Core now supports adding a config property mapping to be set on the form elements.

Comments

kriboogh created an issue. See original summary.

  • shelane committed 6f8e6931 on 8.x-1.x
    fix: #3534181 Default configuration missing and wrong values saved
    
shelane’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.