Skip to content
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

Allow blob to exists and reattach it #371

Merged
merged 1 commit into from
Sep 1, 2022
Merged

Allow blob to exists and reattach it #371

merged 1 commit into from
Sep 1, 2022

Conversation

carolyncole
Copy link
Member

Also remove add_post_curation_uploads as we should never be using it. It would cause key conflicts all the time if we did, since the key does not include the bucket

fixes #358

Also remove add_post_curation_uploads as we should never be using it.  It would cause key conflicts all the time if we did, since the key does not include the bucket
@@ -577,7 +571,6 @@
stub_request(:put, /#{bucket_url}/).to_return(status: 200)

work.complete_submission!(user)
work.save
Copy link
Member Author

@carolyncole carolyncole Sep 1, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The complete_submission! causes save to be called. create_submission no bang would require a save

@bess bess merged commit 1ca4943 into main Sep 1, 2022
@bess bess deleted the i358-existing-blob branch September 1, 2022 20:06
bess pushed a commit that referenced this pull request Sep 6, 2022
Also remove add_post_curation_uploads as we should never be using it.  It would cause key conflicts all the time if we did, since the key does not include the bucket
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error in Show page for works in production
2 participants