Skip to content

[Bug]: Entry discovery and linking use different case sensitive rules #1279

@mm12

Description

@mm12

Checklist

  • I am using an up-to-date version.
  • I have read the documentation.
  • I have searched existing issues.

TagStudio Version

Alpha 9.5.6

Operating System & Version

Win11

Description

"Search Unlinked Entries" and other items that render the entry are not case sensitive with pathing. However, scanning for new entries is.

Expected Behavior

New entries should not be added if the path is already in the database

Steps to Reproduce

  1. Have a library with items like path/Title-title-of-work/my-items.png
  2. refresh directories to add the entry
  3. rename the folder Title-title-of-work to TITLE-title-of-work
  4. Check for unlinked entries. This will find no results.
  5. refresh directories again. This will add the item(s) in the renamed folder.
    • You now have two copies of the same item.
    • You cannot only delete it from the database, since the builtin deletion also deletes the item, which we still want.

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugSomething isn't working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions