[Bug] Nested inclusions broken #3009

Closed
opened 2026-02-05 05:57:21 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @JoeIzzard on GitHub (Aug 24, 2022).

Describe the Bug

Page A is a main page.

Page B is a secondary page.

Page B has inclusion tags to include Page C

Including Page B into Page A, with the nested inclusion of Page C results in the Page C inclusion not being rendered.

Steps to Reproduce

  1. Create a Page (C) with content
  2. Create a Page (B) with some content and the inclusion of Page C
  3. Create a page including Page B

Expected Behaviour

The inclusion tags should be recessively rendered down to the last inclusion

Screenshots or Additional Context

This shows the broken inclusion on a page in our Bookstack

Screenshot 2022-08-24 at 10 34 19 am

Browser Details

Chrome on MacOS Monterey

Exact BookStack Version

21.12.5

PHP Version

No response

Hosting Environment

Linux Server Docker Image

Originally created by @JoeIzzard on GitHub (Aug 24, 2022). ### Describe the Bug Page A is a main page. Page B is a secondary page. Page B has inclusion tags to include Page C Including Page B into Page A, with the nested inclusion of Page C results in the Page C inclusion not being rendered. ### Steps to Reproduce 1. Create a Page (C) with content 2. Create a Page (B) with some content and the inclusion of Page C 3. Create a page including Page B ### Expected Behaviour The inclusion tags should be recessively rendered down to the last inclusion ### Screenshots or Additional Context This shows the broken inclusion on a page in our Bookstack ![Screenshot 2022-08-24 at 10 34 19 am](https://user-images.githubusercontent.com/3457283/186385442-345ede17-d7f7-4ce6-8aaf-91fceb5fe793.png) ### Browser Details Chrome on MacOS Monterey ### Exact BookStack Version 21.12.5 ### PHP Version _No response_ ### Hosting Environment Linux Server Docker Image
OVERLORD added the 🐛 Bug label 2026-02-05 05:57:21 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#3009