Update commerce referral settings page

Created on 2 January 2023, almost 2 years ago
Updated 5 July 2024, 4 months ago

Problem/Motivation

Halts config import: Configuration commerce_user_referral_points.settings depends on the commerce_user_referral_points extension that will not be installed after import

Steps to reproduce

There is no such extension: commerce_user_referral_points

After attempting to import a configuration, I get this error:

1) drush cedit field.field.node.somefield.field_some_comments --editor=emacs
Collection Config Operation
field.field.node.somefield.field_some_comments update
2) Import the listed configuration changes? (y/n): y

Errors: received
array_diff(): Expected parameter 1 to be an array, null given ConfigImportSubscriber.php:312 [warning]
Drupal\Core\Config\ConfigImporterException: There were errors validating the config [error]
synchronization.
Configuration commerce_user_referral_points.settings depends on the
commerce_user_referral_points extension that will not be installed
after import.
in Drupal\Core\Config\ConfigImporter->validate() (line 759 of
mysite/html/core/lib/Drupal/Core/Config/ConfigImporter.php).
The import failed due for the following reasons: [error]
Configuration commerce_user_referral_points.settings depends on the
commerce_user_referral_points extension that will not be installed after import.

Proposed resolution

Change settings file from commerce_user_referral.settings to commerce_user_points.referral_settings

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

9.0

Component

Code

Created by

🇺🇸United States SocialNicheGuru

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024