- Issue created by @achap
- Status changed to Needs review
3 months ago 5:09am 29 August 2024 - achap 🇦🇺
Closing this as it can be prevented by altering the langcode in hook_pathauto_alias_alter rather than hook_path_alias_presave. Pre save occurs too late but the other one is fired before we save the alias so it prevents the duplicate issue.
Also, I guess that the core path_alias should be the one preventing duplicates being saved.