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
F13060960: D18262.diff
Fri, Apr 19, 6:39 PM
Unknown Object (File)
Wed, Apr 17, 12:26 PM
Unknown Object (File)
Wed, Apr 10, 5:30 PM
Unknown Object (File)
Mon, Apr 8, 11:43 AM
Unknown Object (File)
Mon, Apr 8, 5:24 AM
Unknown Object (File)
Mon, Apr 8, 5:24 AM
Unknown Object (File)
Fri, Apr 5, 9:29 PM
Unknown Object (File)
Fri, Mar 29, 6:21 PM
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