New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes #33748 - correct input reference on duplicate upload #9735
Conversation
Issues: #33748 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK
I've pushed some more updates to fully resolve the issue, and as part of it have tried to simplify the upload class considerably. Now instead of tons of checking in the orchestration action, it tries to look for duplicates in each action that is attempting to create the duplicates artifact or content unit. Then the action can either return tasks (that will eventually contain an href), or the href itself. To reproduce the original issue:
You might want to also test: #9547 (which worked fine for me with these changes)
|
Tested this by running the mentioned script, once pre-patch and one post. Running the script with repo id of first respository:
Changed the repo id to second repository.
Finally applied the PR and re-ran the script against the 2nd repository:
|
i think this should fix the tests |
app/lib/actions/pulp3/orchestration/repository/import_upload.rb
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested several workflows..Works fine for single/ multiple/ duplicate/ duplicate large , remove/add etc..
ACK 👍🏽
[test katello] |
What are the changes introduced in this pull request?
Fixing a reference to a variable that doesn't exist, it should be referencing the input
What are the testing steps for this pull request?
From a user perspective, its unclear. It was reported by qe