We have the issue in production environment that if an existing Variant is copy-pasted as a duplicate, it gets automatically published (I think this is already an issue), but an even bigger issue is that the published variant would fail the validation - in our case we have a regular expression validation for Code, and Episerver had generated a Code which does not meet the Regex.
Is it possible to change this behavior, so it does not get published?
I also think it is a bug that is gets published without validation.
Related thread in CMS is:
But mentioned solution does not work for Commerce 12.14.
Thank you in advance.
Thanks for your feedback, we will look into this.
After looking into this I can confirm that the behavior is consistent with what we have in CMS (the copied page is published and that is without validation), so we decide to not fix this issue.