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
This problem occurred with some new mods. I wasn't able to replicate the problem with older mods (even with recent updates.
Describe the bug:
When using either /latest <project-id> or whenever /schedule add runs... Some project ids show the Download hyperlink as null: [Download](null). I'll describe the problem using /latest as it more likely does have the same mechanism. I couldn't find a specific pattern to discover the actual error, so I assumed that it happened only in a few new mods.
To Reproduce:
Invite the bot to the Discord server and give appropriate permissions.
Use /latest <project-id> and insert one of these projects: 1162729 | 1162748 | 1136088 (these are examples, maybe more of them return null?)
Bot returns with the expected response, but with the hyperlink of "Download" being broken, showing "[Download](null)".
Expected behavior:
Bot sends an actual hyperlink to the download of the file and not a broken one.
Additional Information
Screenshots (if available):
The text was updated successfully, but these errors were encountered:
That could probably be handled better by removing the link altogether; although if the file is not available through the API it's not something I can do much about.
There might be different reasons for which the file is unavailable, such as having disabled 3rd party distribution in the project settings, can you check if that's the case?
Davoleo
changed the title
Download link of Project/s is null
Improve display of "Download link" if it's null Project File
Dec 22, 2024
Davoleo
changed the title
Improve display of "Download link" if it's null Project File
Improve display of "Download link" if it's null in Project File
Dec 22, 2024
Hey, after checking with one of the projects that does have a [null] case, 3rd party distributions are indeed disabled. I haven't modified the field yet, but that could be one of the causes, thanks for noticing!
It would be also cool if there are more customizable options such as removing the link as you said.
General Information
This problem occurred with some new mods. I wasn't able to replicate the problem with older mods (even with recent updates.
Describe the bug:
When using either
/latest <project-id>
or whenever/schedule add
runs... Some project ids show the Download hyperlink as null:[Download](null)
. I'll describe the problem using /latest as it more likely does have the same mechanism. I couldn't find a specific pattern to discover the actual error, so I assumed that it happened only in a few new mods.To Reproduce:
/latest <project-id>
and insert one of these projects:1162729 | 1162748 | 1136088
(these are examples, maybe more of them return null?)[Download](null)
".Expected behavior:
Bot sends an actual hyperlink to the download of the file and not a broken one.
Additional Information
Screenshots (if available):
The text was updated successfully, but these errors were encountered: