You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrade the module from 3.5.6 to 4.1.1, the file download doesn't work anymore.
Software Versions
DNN: 09.13.00
Module: 04.01.01
To Reproduce
Steps to reproduce the behavior:
Upgrade an old website using the 3.5.6 version to the 4.1.1
Click on the download link for a file listed by an existing module (created with the old version)
The error message is:
[NullReferenceException: Object reference not set to an instance of an object.]
DotNetNuke.Modules.Repository.Repository.SendDownloadNotification(RepositoryInfo objRepository)
Expected behavior
User should obtain the selected file when clicking on the download link.
The text was updated successfully, but these errors were encountered:
I think this issue is caused by the feature #42 which can send notifications when a user downloads a file.
In my case, the module settings haven't been updated manualy nor programaticaly.
I will provide a fix which will consist to test if the corresponding setting exists in the database before using its value.
stetard
added a commit
to stetard/DNN.Repository
that referenced
this issue
Nov 7, 2023
Describe the bug
After upgrade the module from 3.5.6 to 4.1.1, the file download doesn't work anymore.
Software Versions
To Reproduce
Steps to reproduce the behavior:
[NullReferenceException: Object reference not set to an instance of an object.]
DotNetNuke.Modules.Repository.Repository.SendDownloadNotification(RepositoryInfo objRepository)
Expected behavior
User should obtain the selected file when clicking on the download link.
The text was updated successfully, but these errors were encountered: