-
Notifications
You must be signed in to change notification settings - Fork 132
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
Fix issue where file uploads were automatically soft deleted #1816
Conversation
5ab1b62
to
75e04c7
Compare
8299fbb
to
f26a4a7
Compare
d8f81df
to
46d2308
Compare
1001529
to
00acb2b
Compare
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.
Looks good to me
4f20df3
to
32ef633
Compare
Noticed duplicate attachments for new submissions while testing this out, investigating further to see if it's a bug. |
Not entirely sure what caused this... Unable to replicate it at the moment though. Might have been one of the previous iterations of the management command |
@DavisRayM The attachment list now has the uploaded file. I wonder why we still have the |
@faith-mutua That's weird... not entirely sure if that's a bug on the api or the frontend... If the information is returned on the endpoint I think this is an issue on the frontend. I'll try to replicate this.
|
b78b9f6
to
87eb85a
Compare
Update test_replaced_attachments_not_tracked test making sure that file uploads are properly handled and the soft_deletion feature works as expected
87eb85a
to
33f98a9
Compare
33f98a9
to
74d003b
Compare
@DavisRayM document files are now included under |
Changes / Features implemented
file
toKNOWN_MEDIA_TYPES
test_replaced_attachments_not_tracked
testPending Work
recover_deleted_attachments
management functionSteps taken to verify this change does what is intended
Side effects of implementing this change
Closes #1815