Skip to content

Cannot Rename Page with Case-Only Change #319

@gomaaz

Description

@gomaaz

Bug Description

When a user attempts to rename an existing page by only changing the capitalization of the page name (e.g., from lowercase to uppercase), the system throws a validation error and the rename operation is not completed.

The error message displayed is: "New and old name are the same."

This indicates that the name validation or renaming logic is performing a case-insensitive comparison, incorrectly identifying the case-changed name as identical to the original name.

Steps to Reproduce

  1. Create a new page with a name in all lowercase (e.g., testpage).
  2. Navigate to the page's rename/settings functionality.
  3. Attempt to change the page name by only altering the case (e.g., changing testpage to TestPage or TESTPAGE).
  4. Try to save the changes.

Expected Behavior

The page name should be successfully updated to the new capitalization (e.g., TestPage). The system should treat names that differ only in case as distinct, allowing the rename to proceed.

Actual Behavior

The system rejects the change and displays the error message: "New and old name are the same."

Environment / Details

  • Version: Version 2.14.3 (v2.14.2-0-gd6d5f3c)
  • Browser: Chrome

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions