-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
Description
Version
pulpcore 3.84.0
pulp-maven 0.11
installed via Poetry
Describe the bug
Unable to upload a file if its version looks like final-1.2.3.
We need to support such versions to migrate from another solution.
To Reproduce
- Install Pulp
- Create a repository
- Upload an artifact with version
final-1.2.3:
mvn deploy:deploy-file -Dfile=adapter-FINAL-2.19.0.pom \
-DgroupId=group \
-DartifactId=adapter \
-Dversion=FINAL-2.19.0 \
-Dpackaging=zip \
-DrepositoryId=test-repo \
-Durl=https://void-test.raiffeisen.ru/pulp/maven/test-repo
- Observe a 500 error.
It seems the system tries to write a null value into the version field.
Expected behavior
The artifact should be created with version FINAL-2.19.0.
Additional context
django.db.utils.IntegrityError: null value in column "version" of relation "maven_mavenartifact" violates not-null constraint
Reactions are currently unavailable