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

Fix missing background audio recordings and audit logs when exporting or viewing submitted data #905

Merged

Conversation

noliveleger
Copy link
Contributor

@noliveleger noliveleger commented Nov 11, 2023

Description

Run python3 manage.py soft_delete_orphan_attachments_2_023_37c_fix inside the KoboCAT container to fix existing submissions.

Notes

The management command does nothing if no background audio recording and audit logs are soft-deleted.
This can happen if self-hosters update their instance from an older than version than 2.023.37c to this one.

Internal discussion: https://chat.kobotoolbox.org/#narrow/stream/4-Kobo-Dev/topic/Attachments.20incorrectly.20soft.20deleted

@noliveleger noliveleger force-pushed the hot-fix-background-audio-audit-files-wrongly-soft-deleted branch from a9c31ff to a9f5386 Compare November 11, 2023 14:13
@jnm jnm changed the title Fix missing background audio recording and audit logs when submitting data Fix missing background audio recordings and audit logs when exporting or viewing submitted data Nov 13, 2023
@jnm jnm merged commit 72442cb into release/2.023.37 Nov 13, 2023
1 check passed
@jnm jnm deleted the hot-fix-background-audio-audit-files-wrongly-soft-deleted branch November 13, 2023 22:14
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants