- 🇨🇦Canada vamirbekyan Toronto
unfortunately unique_alias_checker module does not work with node:origin:title token.
- 🇮🇳India shabana.navas
+++ b/src/PathautoGenerator.php @@ -247,6 +247,12 @@ class PathautoGenerator implements PathautoGeneratorInterface { + throw new \InvalidArgumentException('Path alias should be unique.');
I think we can change this error message to be a bit more informative. Something like:
throw new \InvalidArgumentException(sprintf('The automatically generated alias %s conflicted with an existing alias.', $alias));
would help admins figure out which are the problematic aliases.
- 🇮🇳India shabana.navas
Earlier patch didn't apply. Adding again with informative error message.
- Status changed to Needs work
4 months ago 9:26am 1 August 2024 - 🇨🇭Switzerland berdir Switzerland
I'm not convinced that this feature is important enough to be added to the main module. the uniquifier is a service, the module that was created could implement this approach by wrapping the service and implementing this logic there.
To be added, tests would be required and a merge requests, patches are no longer tested.