mirror of
https://github.com/opf/openproject.git
synced 2026-06-13 19:20:00 +00:00
643a58f801
https://community.openproject.org/wp/67664 When storing attachments on S3, the file is not fully uploaded until the direct upload finishes (hook called from client browser when file is finished uploading). The `FinishDirectUploadService#schedule_jobs` now calls `attachment.enqueue_jobs` to ensure the same jobs are run on attachment creation (useful when s3 storage is not used) and on attachment upload completion. This means virus scanning job is now triggered correctly.