Duplicate pages after API call #5565

Open
opened 2026-02-05 10:10:35 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @matthias4217 on GitHub (Jan 9, 2026).

Describe the Bug

A page appears duplicated in a chapter :
Image

This is a "display" issue, as both pages present point to the same link. However the page description is different, making me think there may be an error in the database.

A second pass, after having created a new chapter and moving the page there solved the issue.

Context

We’ve recently upgraded to v25.12.1 from v25.07.2, and one of our user reported this bug.
The book is managed from a git repository. To accommodate for various use-cases, we have developed a python tool to push the content (markdown file) from a git repository to BookStack. To add a new Page, this tool would first create a blank page, then modify the content in another call.

Steps to Reproduce

I don’t know yet what exactly caused this behaviour. This is linked to the API usage anyway. I will conduct further testing.

Expected Behaviour

Only one page should have been displayed.

Screenshots or Additional Context

No response

Browser Details

No response

Exact BookStack Version

v25.12.1 with display customization

Originally created by @matthias4217 on GitHub (Jan 9, 2026). ### Describe the Bug A page appears duplicated in a chapter : <img width="687" height="186" alt="Image" src="https://github.com/user-attachments/assets/efc7fc14-69e9-4965-afbb-b05ab2329c19" /> This is a "display" issue, as both pages present point to the same link. However the page description is different, making me think there may be an error in the database. A second pass, after having created a new chapter and moving the page there solved the issue. ### Context We’ve recently upgraded to `v25.12.1` from `v25.07.2`, and one of our user reported this bug. The book is managed from a git repository. To accommodate for various use-cases, we have developed a python tool to push the content (markdown file) from a git repository to BookStack. To add a new Page, this tool would first create a blank page, then modify the content in another call. ### Steps to Reproduce I don’t know yet what exactly caused this behaviour. This is linked to the API usage anyway. I will conduct further testing. ### Expected Behaviour Only one page should have been displayed. ### Screenshots or Additional Context _No response_ ### Browser Details _No response_ ### Exact BookStack Version v25.12.1 with display customization
OVERLORD added the 🐛 Bug label 2026-02-05 10:10:35 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#5565