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

[#7934] Fix processing of unsaved attachments #7935

Merged
merged 1 commit into from
Oct 3, 2023

Conversation

gbp
Copy link
Member

@gbp gbp commented Oct 3, 2023

Relevant issue(s)

Fixes #7934

What does this do?

Fix processing of unsaved attachments

Why was this needed?

This change prevents calling the FoiAttachmentMaskJob before the attachments has been saved. This was causing issues saving attachments in ActiveStorage as it was happening twice and the wrong version was saved.

@gbp gbp added the on-staging label Oct 3, 2023
This change prevents calling the `FoiAttachmentMaskJob` before the
attachments has been saved. This was causing issues saving attachments
in `ActiveStorage` as it was happening twice and the wrong version was
saved.

Fixes #7934
@gbp gbp force-pushed the 7934-fix-unsaved-attachments branch from 0a44f21 to f530411 Compare October 3, 2023 15:46
@gbp gbp merged commit efd34a9 into develop Oct 3, 2023
4 checks passed
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.

Attachments not stored in ActiveStorage
1 participant