- 🇫🇷France gjonc
Hello, we encountered the same issue using book tokens in pathauto. If ECA is enabled, the token is empty and the node path is incorrect.
We tried and edited band-aid like the one you suggest here and its seems to work.if ($type === 'book') { $real_token_type = 'book'; }
Because books aren't entities, the $real_token_type for book tokens is set to 'node'.
It is unlikely that book module will be refactored with entities. So maybe book tokens need a band-aid like menu-link or specific case in getTokenType.
- 🇩🇪Germany mxh Offenburg
@gjonc This issue is closed. Could you please open a new issue for your encountered problem? You may also relate from that new issue to this one. Thanks!