- First commit to issue fork.
- Merge request !16Issue #2921178: Tokens not replaced when a link resolves to a route. β (Open) created by muriqui
- πΊπΈUnited States muriqui
Opened an MR to reroll patch #48 against 9.1.x, and to clean it up a bit by removing bits that seemed unnecessary to resolve the issue reported here (such as renaming of the module's admin menu item). Seems to work in my testing.
Steps to test:
- Create a view that has a page display and a contextual argument.
- Create a menu link pointing to that page and use a token to supply the argument. Example: /path-to-my-view/[current-user:account-name]
Result in 9.1.x: The token is not replaced.
Result with MR: Token replaced as expected. - Status changed to Needs review
8 months ago 10:55pm 8 March 2024 - π·πΊRussia DD 85
I applied this path https://git.drupalcode.org/project/menu_token/-/merge_requests/16/diffs?...
I get an error
Deprecated function: unserialize(): Passing null to parameter #1 ($data) of type string is deprecated Drupal\menu_token\Service\MenuTokenContextManager->__construct() (34 \modules\menu_token\src\Service\MenuTokenContextManager.php)menu_token 9.1.0-alpha1+7-dev 2023-02-21
Drupal 10.2.7
PHP 8.1.9Patch is not working.
/user/[current-user:uid]/orders - π·πΊRussia DD 85
#40 JordiK
Thank you!
Patch #40 saved me!
I recommend it for the release of a new release! - Status changed to RTBC
5 months ago 8:26pm 13 June 2024