-
Bug
-
Resolution: Done
-
Major
-
None
-
Unspecified
-
False
-
-
False
-
-
-
Moderate
When selecting a repo for approval, `validated` or `certified`, the collection is copied to the selected repo but also remains in `staging` with the approval button available to select.
Steps to Reproduce
- Sign a collection
- Click Approve
- Repo selection screen appears
- Select a repository
- Click Select at the bottom of the screen
- Exit out of the window
Actual Behavior
Task `pulp_ansible.app.tasks.copy.copy_or_move_and_sign`kicks off after selecting a repository. When this task completes, the collection can be viewed in the selected repo. Going back to the approval-dashboard shows the collection still present in the `staging` repo as well.
Example: autohubtest2.collection_dep_a_psaqiytz:1.0.0 is in both `validated` and `staging`.
Expected Behavior
After the `pulp_ansible.app.tasks.copy.copy_or_move_and_sign`task completes, the collection should only be present in the selected repo and removed from staging.