Page MenuHomePhabricator

Fix draft store operations
ClosedPublic

Authored by marcin on Nov 28 2022, 4:47 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 28, 3:36 AM
Unknown Object (File)
Tue, Nov 19, 2:23 PM
Unknown Object (File)
Tue, Nov 19, 2:23 PM
Unknown Object (File)
Tue, Nov 19, 2:21 PM
Unknown Object (File)
Tue, Nov 19, 2:11 PM
Unknown Object (File)
Mon, Nov 11, 9:00 AM
Unknown Object (File)
Tue, Nov 5, 2:26 PM
Unknown Object (File)
Oct 26 2024, 9:27 PM
Subscribers

Details

Summary

Current implementation of draft store operations creation and processing does not obey new policy regarding cancellable asynchronous tasks and tries to access 'payload' property of draft store operation object even if the operation is of type 'remove_all' and does not contain this property. This results in app crashes when logging out.

Test Plan

Build native app on top of https://phab.comm.dev/D5712. Log out - see that app crashes. Apply this differential. See that application does not crash and succesfully logs out.

Diff Detail

Repository
rCOMM Comm
Branch
marcin/fix-draft-store-operations
Lint
No Lint Coverage
Unit
No Test Coverage