Fatal error if referenced product does not exist

Created on 17 January 2025, 3 days ago

Often times when moving a webform between environments, we need to re-assign the product associated with a commerce-webform-order handler.

However, if the product doesn't exist in the target environment, commerce_webform_order chokes and there's no way to use the UI to edit settings, nor any useful error messages in logs.

Instead, commerce_webform_order should not assume that its settings are valid for the current environment, since they're based on content which cannot be included in config dependencies.

πŸ› Bug report
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States AaronBauman Philadelphia

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024