- Issue created by @ducktape
- Merge request !79Issue #3367703: Token [node:menu-link:parent-alias] does not handle hardcoded internal urls that redirects to another page β (Merged) created by ducktape
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 2:16pm 19 June 2023 - π§πͺBelgium ducktape
I updated the token to support hardcoded urls. The automatically created redirect, after the url alias change, takes care of the "Page 2" link in the breadcrumb.
I also had to update the token to be regarded as safe by pathauto, as is done in the kernel test PathAliasUpdateTest. I added this in a hook_update_N.
- First commit to issue fork.
- Status changed to Needs work
over 1 year ago 2:28pm 11 August 2023 - πΊπ¦Ukraine nginex
There are a few issues:
1. $langcode is not needed to be defined for non route url.
2. $url->toString() will return full path with fragment and query. We only need url.
3. If possible we need to lookup for existing redirect to get correct url alias. Otherwise, breadcrumbs will not pick up the page that has changed alias but not in a menu item - First commit to issue fork.
-
webfordreams β
committed 60f75cb5 on 6.1.x authored by
ducktape β
Issue #3367703: Token [node:menu-link:parent-alias] does not handle...
-
webfordreams β
committed 60f75cb5 on 6.1.x authored by
ducktape β
- Status changed to Fixed
8 months ago 7:40am 7 May 2024 -
webfordreams β
committed 60f75cb5 on 6.2.x authored by
ducktape β
Issue #3367703: Token [node:menu-link:parent-alias] does not handle...
-
webfordreams β
committed 60f75cb5 on 6.2.x authored by
ducktape β
Automatically closed - issue fixed for 2 weeks with no activity.