Unable to get [current-user:uid] when a link resolves to a route

Created on 6 November 2017, about 7 years ago
Updated 13 June 2024, 5 months ago

Hi All,

I have found a bug in the module. In the edit menu my Link is like /user/[current-user:uid]/my-listings. The token [current-user:uid] is not being replaced. The token is not being replaced with the logged user id.

However, if change the Link to /user/my-listings/[current-user:uid] it works fine. It is bit strange that behaviour.

I am not seeing any errors in the logs. Is there something I am missing or this module is designed not to work with tokens that are placed in the middle of path.

Warm regards
Javed Gardezi

πŸ› Bug report
Status

RTBC

Version

9.1

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia jgardezi

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024