Add missing distribution validation for move_collection_version
and copy_collection_version
endpoints
#1702
Labels
move_collection_version
and copy_collection_version
endpoints
#1702
AAH Issue: https://issues.redhat.com/browse/AAH-2852
Version
Describe the bug
move_collection_version
andcopy_collection_version
endpoints are missing validation if destination repository has no distribution. Task is completed, but the user doesn't get notified about which repositories succeeded or failed.To Reproduce
/api/galaxy/pulp/api/v3/repositories/ansible/ansible/{pulp_id}/move_collection_version/
Expected behavior
Return an error message with missing distributions before dispatching the task
or alternatively, fail the task with an error about missing distributions.
The text was updated successfully, but these errors were encountered: