Make bookSubtreeData translatable

Created on 5 December 2022, over 2 years ago
Updated 23 July 2023, almost 2 years ago

Problem/Motivation

During #2470896 the book navigation was made translatable, but it seems like the bookSubtreeData function is missing some code in order to make this fully work

Steps to reproduce

Was discovered during a custom approach where we have a book with some untranslated nodes, and using the bookSubtreeData to fetch all child ids of the current page, and this always returned the same cached result.

(steps still need to be described)

Proposed resolution

Add a cache id based on langcode in the bookSubtreeData function

Remaining tasks

  • Write steps and tests to reproduce
πŸ› Bug report
Status

Postponed

Version

9.5

Component
BookΒ  β†’

Last updated 1 day ago

  • Maintained by
  • πŸ‡ΊπŸ‡ΈUnited States @pwolanin
Created by

πŸ‡§πŸ‡ͺBelgium brentg Ghent

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

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