Includes of a page will not be reused if the page will included on another page #3688

Closed
opened 2026-02-05 07:12:09 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @jasonF1000 on GitHub (Mar 27, 2023).

Describe the Bug

If i have a page with includes from another page and i try to reuse this page also as an include on another Page. The includes from the page will not be resolved. Only showing the include tags.
Also i another way of explanation:
Page A includes a section of Page B -> it works the include will be resolved.
Page C includes now Page A -> Page A is resolved but the include of Page B will not be resolved on Page C

i hope this was clear

Steps to Reproduce

  1. reuse page b on page a
  2. reuse page a on page c
  3. you will see that the page b content will not be resolved on page c

Expected Behaviour

the expected behaviour ist that the resolving of the content works also if i reuse a page which already have includes from another page.

Screenshots or Additional Context

content-reuse-issue

Browser Details

No response

Exact BookStack Version

v23.02.1

PHP Version

No response

Hosting Environment

as Container on a kubenetes Cluster.
Application is working fine only a content reuse issue

Originally created by @jasonF1000 on GitHub (Mar 27, 2023). ### Describe the Bug If i have a page with includes from another page and i try to reuse this page also as an include on another Page. The includes from the page will not be resolved. Only showing the include tags. Also i another way of explanation: Page A includes a section of Page B -> it works the include will be resolved. Page C includes now Page A -> Page A is resolved but the include of Page B will not be resolved on Page C i hope this was clear ### Steps to Reproduce 1. reuse page b on page a 2. reuse page a on page c 3. you will see that the page b content will not be resolved on page c ### Expected Behaviour the expected behaviour ist that the resolving of the content works also if i reuse a page which already have includes from another page. ### Screenshots or Additional Context ![content-reuse-issue](https://user-images.githubusercontent.com/116643854/227880080-ce7d6d02-c153-4f93-b8d3-2cb9bb8a977c.png) ### Browser Details _No response_ ### Exact BookStack Version v23.02.1 ### PHP Version _No response_ ### Hosting Environment as Container on a kubenetes Cluster. Application is working fine only a content reuse issue
OVERLORD added the 🐛 Bug label 2026-02-05 07:12:09 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#3688