1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-22 18:28:47 +02:00
phorge-phorge/src/applications/transactions/view
epriestley 48910537b9 Fix rendering of comments deleted by editing
Summary:
Fixes T4609. Steps are:

  - Make a comment.
  - Edit it.
  - Delete all the text.

We expect to see "This comment has been deleted." -- instead, things currently render goofy.

Root cause is that `hasComment()` means both "comment object exists" //and// "comment object is nonempty".

Test Plan: {F128862}

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: aran, epriestley

Maniphest Tasks: T4609

Differential Revision: https://secure.phabricator.com/D8533
2014-03-14 11:53:30 -07:00
..
PhabricatorApplicationTransactionCommentView.php Various linter fixes. 2014-02-26 12:44:58 -08:00
PhabricatorApplicationTransactionTextDiffDetailView.php Various linter fixes. 2014-02-26 12:44:58 -08:00
PhabricatorApplicationTransactionView.php Fix rendering of comments deleted by editing 2014-03-14 11:53:30 -07:00