Skip to content

Fix value of delete_logs_enable not displayed correctly in UI #19919

@sebastian-berlin-wmse

Description

@sebastian-berlin-wmse

The settings for "Regularly delete old raw data", under "Privacy" -> "Anonymize data", doesn't show the correct value. Saving changes doesn't change settings in config/config.ini.php.

Steps to reproduce

  1. Click "Administration" in the top bar.
  2. Click "Privacy" in the menu on the left, then "Anonymize data".
  3. Under "Regularly delete old raw data", check "Regularly delete old raw data from the database".
  4. Click "Save".
  5. Reload the page.

Expected result

"Regularly delete old raw data from the database" is checked.

Actual result

"Regularly delete old raw data from the database" isn't checked. There is a success message after clicking "Save".

Additional information

The checkbox is still unchecked after having set the Deletelogs.delete_logs_enable to 1 with console, which does add the setting to config/config.ini.php.

This is on a fairly new installation of Matomo (4.12.3) that was migrated from another server. OS is Ubuntu 22.04.1.

Metadata

Metadata

Assignees

Labels

RegressionIndicates a feature used to work in a certain way but it no longer does even though it should.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions