Skip to content

Identical mod page file names break collections #20870

@wxMichael

Description

@wxMichael

Your Nexus Mods username
wxMichael

Describe the bug
If two mods have files with the same name set on the mod pages, multiple issues arise with Collections.
This name is stored as logicalFilename in collection.json.

  1. Archives aren't deleted when the collection is removed
  2. Installation of the collection from already-downloaded archives will never complete

I've also had a case where installing my collection containing these mods installed them with the same mod name, even though they are from separate pages.
I've yet to reproduce that, though.

To Reproduce
Bug 1 - Archives are not deleted:

  1. Install the attached collection
  2. Remove the collection, removing both mods and archives
  3. Check the Mods tab. One of the "Main File" archives will remain

Bug 2 - Installation doesn't complete:

  1. Install the attached collection
  2. Remove the collection, removing mods but keeping archives
  3. Install the collection once again
  4. Installation will hang forever, with only 2 of 3 mods listed on the Collection Mods tab

Platform (please complete the following information):

  • OS: Windows 11
  • Vortex 1.16.4

Additional context
Repro collection: collection_1.zip

This collection contains these three files:

  1. Rebar Axe-101688-1-0-0-1771648718.zip
  2. Main File-81727-1-16a-1733558201.7z
  3. Main File-85053-1-10-1728505810.7z

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions