Invalid default value of setting log_push_params_sanitized_fields

Created on 3 December 2024, about 2 months ago

Problem/Motivation

The log_push_params_sanitized_fields setting's default value (when the module gets installed) is {} however, according to the schema definition it should be a sequence. This also results a fatal error on the logger's setting form:

TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in implode() (line 62 of /mnt/files/local_mount/build/web/modules/contrib/salesforce/modules/salesforce_logger/src/Form/SettingsForm.php).

Steps to reproduce

Just install the salesforce_logger module and visit the admin/config/salesforce/logger page.

Proposed resolution

The default value of the log_push_params_sanitized_fields setting should be [] instated of {}.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

5.1

Component

salesforce_logger.module

Created by

🇭🇺Hungary balazswmann

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024