We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Change the ActiveStorage configuration to be something that isn't configured correctly then try uploading a file to a section on the structure step.
If the attaching of the file to the supplemental file fails then the supplemental file record should be deleted.
500 page displayed but going back to the structure step the supplemental file is displayed as if the upload succeeded.
The text was updated successfully, but these errors were encountered:
I retested this on Spruce and it was still broken. We should also look at adding similar error handling to deletion.
Sorry, something went wrong.
Confirmed SupplementalFile.count did not change when uploading to a misconfigured Spruce
SupplementalFile.count
cjcolvar
No branches or pull requests
Steps to Reproduce
Change the ActiveStorage configuration to be something that isn't configured correctly then try uploading a file to a section on the structure step.
Expected Behavior
If the attaching of the file to the supplemental file fails then the supplemental file record should be deleted.
Actual Behavior
500 page displayed but going back to the structure step the supplemental file is displayed as if the upload succeeded.
The text was updated successfully, but these errors were encountered: