Skip to content

Submitting mods without valid versions should warn/error #34

@TheEpicBlock

Description

@TheEpicBlock

Platform filters project versions to only include those valid for the version of the event. Thus, it can easily happen that a version isn't properly marked and there's no valid version for a project. Right now, that means the version is silently set to null which causes the project to be ignored. This is not what should happen, submitting a project without a valid version should error.

Note that for blanketcons people might submit modpacks. These ought to be exempt, as it's intended for them not to be added to the pack. Also note we might intentionally want to set the version to null for reasons™.

Relevant code:

private @Nullable Version getLatestModrinth(String mrProject, EventData event, String projectType) {

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