You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Malware scan retriggers on draft activation without content changes #778
When a draft with attachments is activated without modifying any attachment content, the malware scanner is retriggered unnecessarily.
Steps to reproduce:
Upload an attachment to a draft entity
Activate the draft
Wait for the scan status to become Clean
Enter draft mode again and activate without making any changes
The scan is retriggered (scannedAt timestamp changes, status resets to Scanning)
The root cause is in ModifyAttachmentEventFactory.handleExistingContentId() which treats a matching contentId with a non-null content stream as an update event. During draft activation the CAP runtime copies the stream reference even though the content is identical, so the factory incorrectly returns an update event instead of a doNothing event.
Activity
github-actions commentedon Apr 7, 2026
👋 Hello @Schmarvinius, thank you for submitting this issue. Our team is reviewing your report and will follow up with you as soon as possible.