-
Notifications
You must be signed in to change notification settings - Fork 10
Two-level Malware Bug #315
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
base: main
Are you sure you want to change the base?
Conversation
… into multi-level-bug Merge
6d355d0 to
1138793
Compare
ef51772 to
4f49be4
Compare
|
With the recent push it exposed a bug in the code where deleteAttachmentsWithKeys is called twice when we discard a draft: once from the CANCEL after handler and once from the DELETE/UPDATE after handler. Will fix that next |
… into multi-level-bug
… into multi-level-bug
| diffData[attachmentsComp]?.forEach(object => { | ||
| if (object._op === "delete") { | ||
| deletedAttachments.push(object.ID) | ||
| const deletedAttachments = (() => { |
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.
This should be restructured to avoid the inline function call
schiwekM
left a comment
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 quite nice - thanks for fixing.
Testing for malware bug that occurs in the child of two-level entities, as reported in issue #235. Currently I am unable to replicate the error, it may have been resolved in a previous PR.