Page MenuHomePhabricator

Fix an issue when deleting the entire content of an unsubmitted inline comment
ClosedPublic

Authored by epriestley on Jul 21 2017, 3:10 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jun 19, 8:22 PM
Unknown Object (File)
Jun 3 2025, 11:21 AM
Unknown Object (File)
Jun 2 2025, 6:46 AM
Unknown Object (File)
Jun 1 2025, 9:29 PM
Unknown Object (File)
May 31 2025, 10:59 AM
Unknown Object (File)
May 6 2025, 10:44 AM
Unknown Object (File)
Apr 3 2025, 11:04 AM
Unknown Object (File)
Apr 3 2025, 12:12 AM
Subscribers
None

Details

Summary

Ref T12733. In this case, the server returns no new row, but we would incorrectly try to bind to one.

Test Plan
  • Created a new comment.
  • Edited it.
  • Deleted all the text.
  • Saved changes.
  • Before: Header continues to show phantom "1 Unsubmitted Comment", browser error log reflects one error.
  • After: Header reflects comment being deleted, error log is quiet.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable