Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When Lightning Preview is enabled, URL aliases behave unexpectedly under certain circumstances:
If Pathauto is enabled but there are no configured Pathauto rules for the entity type/bundle you are editing, you still have the option to enter a URL alias manually. However, that alias does not get prefixed for the current workspace. (This is due to Lightning Preview overriding the core PathWidget, but not Pathauto's own variant of that widget.)Fixed in 8.x-1.11.If you have an entity with an auto-generated URL alias, and you decide to override that (i.e., uncheck the Pathauto checkbox, enter a new alias, and save), it reverts to the old alias, no matter what you enter. We don't know what's happening here yet, but we suspect it might be Pathauto not playing nicely with Multiversion.Fixed in Pathauto RC1: #2831241: Remove old_alias related codeIf Pathauto is enabled and you're creating a new entity type/bundle that has Pathauto rule(s) configured, but you decide to disable Pathauto and enter a manual URL alias, it will not be prefixed (again, due to the widget plugin in use).Fixed in 8.x-1.11.- Prefixing of auto-generated path aliases only works for nodes.
Comments
Comment #2
balsamaComment #3
phenaproximaComment #4
phenaproximaTwo of the problems in the IS are now corrected in Lightning 8.x-1.11.
Comment #5
anruetherThis occurs to me with Multiversion deactivated (Plain Lightning 1.11 install without WPS activated during setup).
Comment #6
phenaproximaI turns out this was a problem in Pathauto itself, which is now fixed: #2831241: Remove old_alias related code
Comment #7
phenaproximaComment #8
phenaproximaThe 8.x-1.x branch of Lightning is no longer supported, so I'm closing this issue.