Skip to content

Duplicate Shelf Names Are Allowed #571

@18010472270

Description

@18010472270

BookStack Version

[25.7.2]

Issue 1: Duplicate Shelf Names Are Allowed

Steps to Reproduce

  1. Log in to the BookStack system.
  2. Navigate to the shelf creation page (usually accessible via the sidebar menu or a specific shelf management page).
  3. Enter "test" as the shelf name and click the create button. A shelf named "test" is successfully created.
  4. Repeat step 3 multiple times to create multiple shelves with the name "test".

Expected Result

The system should perform uniqueness validation on shelf names. When attempting to create a shelf with a name that already exists, an error prompt should be given and the creation should not be successful.

Actual Result

Shelves with the name "test" can be created multiple times. Multiple shelves with the same name will be displayed on the shelf list page, causing page confusion. It is difficult for users to distinguish between different shelves, which greatly affects the user experience.

Image

Meanwhile, the creation of books also allows for repeated creation and existence, and the form is consistent with that of creating bookshelves.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions