Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    TagStudio: LibraryRelating to the TagStudio library systemType: BugSomething isn't working as intendedType: File SystemFile system interactions

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions