- Status changed to Fixed
almost 2 years ago 3:49pm 20 January 2023 Automatically closed - issue fixed for 2 weeks with no activity.
The :url
token only returns the node alias, thus ignoring i.e. the language prefix.
On a multilingual site, using the :url
token and check the result.
Instead of
\Drupal::service('path_alias.manager')->getAliasByPath('/node/' . $nid);
Use
Url::fromRoute('entity.node.canonical', ['node' => $nid]);
Review the patch.
None.
None.
None.
Fixed
2.1
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Automatically closed - issue fixed for 2 weeks with no activity.