The SKU "%AutoSku%" is already in use and must be unique.

Created on 28 January 2025, 3 days ago

Problem/Motivation

If saving a product fails, a variation is create with the SKU: "%AutoSku%". Subsequent products / variations cannot be saved until that variation is deleted or its SKU changed.

Steps to reproduce

Add a validation function to the product form, which causes an exception. Obviously this shouldn't ever happen, but if it does it would be better not to also have a 'stuck' product blocking others from being created.

Proposed resolution

Add a unique ID to the placeholder, as is done in auto_entitylabel.

Kind of a bug report, kind of a feature request.

🐛 Bug report
Status

Active

Version

2.1

Component

Code

Created by

🇬🇧United Kingdom griz

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

Comments & Activities

Production build 0.71.5 2024