Page MenuHomePhabricator

[web] Fix "invariant violation" for encrypted uploads
ClosedPublic

Authored by bartek on May 30 2023, 2:11 AM.
Tags
None
Referenced Files
F3401785: D8026.diff
Mon, Dec 2, 1:52 PM
Unknown Object (File)
Wed, Nov 13, 1:55 PM
Unknown Object (File)
Wed, Nov 13, 1:55 PM
Unknown Object (File)
Wed, Nov 13, 1:55 PM
Unknown Object (File)
Wed, Nov 13, 1:52 PM
Unknown Object (File)
Oct 21 2024, 6:25 AM
Unknown Object (File)
Oct 13 2024, 5:41 PM
Unknown Object (File)
Oct 13 2024, 5:41 PM
Subscribers

Details

Summary

Fixes ENG-3947. Details are in the Linear issue.

Test Plan

Sent encrypted message on web before it fully uploaded to server. Ensured there was no error in dev tools console.

Diff Detail

Repository
rCOMM Comm
Branch
barthap/invariant-violation
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

ashoat added inline comments.
web/input/input-state-container.react.js
1020

Arguably we could just use localID instead of uploadAfterPreload.localID, but it shouldn't matter

This revision is now accepted and ready to land.May 30 2023, 4:37 AM