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)
Sun, May 19, 5:17 PM
Unknown Object (File)
Sat, May 4, 8:03 AM
Unknown Object (File)
Apr 4 2024, 9:10 PM
Unknown Object (File)
Apr 4 2024, 9:10 PM
Unknown Object (File)
Apr 4 2024, 9:09 PM
Unknown Object (File)
Apr 4 2024, 9:01 PM
Unknown Object (File)
Feb 22 2024, 5:29 PM
Unknown Object (File)
Feb 22 2024, 4:25 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