The token module does not currently support book 3.0.x or book 2.0.x
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3562297. --> Reported by: [joseph.olstad](https://www.drupal.org/user/1321830) Related to !156 !153 !155 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>History:<br> The token module currently supports book 1.0.x and book how it was in Drupal 10 core .</p> <p>The token module is unaware of the api changes made to book 2.0.x/3.0.x. When using book 2.0.x/3.0.x we are left with <strong>dead non-functional book tokens</strong>.</p> <ul> <li>The token module does not support book 3.0.x </li> <li>The token module likely also does not support book 2.0.x</li> <li>The token module does not support livre 1.0.x which is based on book 3.0.x (uses book 3.0.x as an upstream)</li> </ul> <p>Tokens currently only function for book 1.0.x</p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <p>Install the token module and pathauto module</p> <p>Attempt to use this pathauto pattern:</p> <p>"<code>book/[node:book:parents:join-path]/[node:title]</code>"</p> <p>Result is:<br> <code>/book/&lt;node title&gt;</code></p> <p>Expected result:</p> <p>"<code>book/book-root-title/&lt;children-book-titles-joined-depends-on-depth-of-book&gt;/&lt;node title&gt;</code>"</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p><del>Write a patch for the token module or shim the 1.0.x api to 3.0.x/2.0.x</del> see comment #8 <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/book/issues/3562297" title="Status: Closed (fixed)">#3562297: The token module does not currently support book 3.0.x or book 2.0.x</a></span></p> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <p>TBD</p> <h3 id="summary-ui-changes">User interface changes</h3> <p>Ensure that tokens are functional</p> <h3 id="summary-api-changes">API changes</h3> <p>TBD</p> <h3 id="summary-data-model-changes">Data model changes</h3> <p>N/A</p>
issue