Skip to content

Duplicate pages after API call #5981

@matthias4217

Description

@matthias4217

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions