Page MenuHomePhabricator

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

Authored by bartek on May 30 2023, 2:11 AM.
Tags
None
Referenced Files
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
Unknown Object (File)
Oct 13 2024, 5:40 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ashoat added inline comments.
web/input/input-state-container.react.js
1020 ↗(On Diff #27255)

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