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: https://world.episerver.com/forum/developer-forum/-Episerver-75-CMS/Thread-Container/2016/12/copied-page-automatically-published/ But mentioned solution does not work for Commerce 12.14.
Thank you in advance.