-
Notifications
You must be signed in to change notification settings - Fork 401
Open
Labels
websiteRelates to Modrinth.com web frontendRelates to Modrinth.com web frontend
Description
Please confirm the following.
- I checked the existing issues for duplicate problems
- I have tried resolving the issue using the support portal
What browsers are you seeing the problem on?
Firefox
Describe the bug
When I create a new project, I can upload a new version of several types e.g., mod, resourcepack, datapack.
Uploading different types of versions results in a different behavior depending on their upload order.
Steps to reproduce
Use the web UI:
- Create a new project
- Prepare two files, a resourcepack zip and mod jar (I am using neoforge mod)
- Upload the resourcepack as the first version
- Try to upload the mod as a second version
- Error shows up
The file "TEST-neoforge.jar" is not a valid file type for this project.
Now delete both versions and try it in reverse order.
- Upload the mod as the first version
- Upload the resourcepack as the second version
- Both uploads succeeds
Expected behavior
The behaviour should not change based on the order of uploaded versions.
Additional context
When using API via KiraNT/mc-publish, the behavior is the same for both orders.
HttpError: 400 (Bad Request, {"error":"invalid_input","description":"Error while validating input: Field loaders failed validation with error: length"})
Changing the order results in the same error.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
websiteRelates to Modrinth.com web frontendRelates to Modrinth.com web frontend