When uploading artifacts to the V3 upload endpoint and uploading a filename that does not match the prescribed namespace-name-version.tar.gz pattern, a 500 response is returned indicating an unhandled internal error and no proper reporting of the issue.
STEPS TO REPRODUCE
Build a collection artifact
Rename the resulting artifact
Upload it to Automation Hub
EXPECTED RESULTS
An error about the filename indicating the problem, as it cannot be matched with its expected namespace
OR
The namespace, name, and version to be used from the metadata and the filename ignored.
Note: please clarify the intended result and follow up with QE.
ACTUAL RESULTS
500 Internal Server Error and no clear information
Bug Report
SUMMARY
When uploading artifacts to the V3 upload endpoint and uploading a filename that does not match the prescribed
namespace-name-version.tar.gz
pattern, a 500 response is returned indicating an unhandled internal error and no proper reporting of the issue.STEPS TO REPRODUCE
EXPECTED RESULTS
An error about the filename indicating the problem, as it cannot be matched with its expected namespace OR The namespace, name, and version to be used from the metadata and the filename ignored.
Note: please clarify the intended result and follow up with QE.
ACTUAL RESULTS
500 Internal Server Error and no clear information