Skip to content

Breaking change regarding the files storage location #58

Description

@stetard

Describe the bug

After upgrade the module from 3.5.6 to 4.1.1, customized file downloads are using to a bad location.

Software Versions

  • DNN: 09.13.00
  • Module: 04.01.01

To Reproduce

Steps to reproduce the behavior:

  1. Upgrade an old website using the 3.5.6 version to the 4.1.1
  2. Click on the download link for a file listed by an existing module (created with the old version)
  3. The error message is: [FileNotFoundException: Could not find file 'C:\Website\Portals\0\Repository...

Expected behavior

User should obtain the selected file when clicking on the download link.

Additional context

This problem occurs when the file storage location have been customized with an old Repository module version.
In this cas, the correct path is 'C:\Website\Portals\0\Download...' instead of the default ''C:\Website\Portals\0\Repository...'.

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