For context, this is with djangocms-alias 2.0.5, django 4.2, djangocms 4.1.9 & python 3.11, we are updating our project so I expect this issue to be fixed when we update to alias 3+ and django/djangocms 5+. But, so the issue is documented, there seems to be a bug with alias 2.0.5, when I select a plugin and select Create Alias, there's an option to "Replace Current Plugin". If I don't select that box, eveything works fine, if I do, it errors out, giving an IntegrityError and this type of message: (1062, "Duplicate entry '18442-en-225' for key 'cms_cmsplugin_placeholder_id_language_position_bad60ebe_uniq"')
When this happens, I noticed that the alias is created, but it's blank, the plugins themselves are not effected. We are using djangocms-alias out of the box, no changes or customizations, so we believe this is a bug in version 2.0.5