Uploaded image for project: 'Automation Hub'
  1. Automation Hub
  2. AAH-2262

collection can't be uploaded again when rejected and deleted

Details

    • Bug
    • Resolution: Duplicate
    • Undefined
    • None
    • 2.4
    • Backend, UI
    • None
    • False
    • Hide

      None

      Show
      None
    • False

    Description

      Preconditions

      No collections in hub (this is only relevant for step 6)

       

      Steps to reproduce

      1-Login with admin

      2-Go to collections -> namespaces and create 'amazon' namespace

      3-Upload collection attached in this ticket (amazon-aws-1.5.0.tar.gz)

      4-Go to collections -> approval and reject it.

      5-Go to repositories -> rejected -> collection versions tab and remove it.

      6-Make this call to make sure collection is gone: count 0 should be returned

      GET http://localhost:5001/pulp_ansible/galaxy/default/api/v3/plugin/ansible/search/collection-versions/

      7-Go to amazon namespace and try to upload amazon-aws-1.5.0.tar.gz

       

      Expected test result

      Artifact is uploaded (appears in Approval screen)

       

      Actual test result

      "Artifact already exists" message.

      Artifact can't be uploaded

      Attachments

        Issue Links

          Activity

            People

              dnewswan David Newswanger
              ctorrens@redhat.com Christian Torrens
              Christian Torrens Christian Torrens
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: