Page MenuHomePhabricator

Attempting to undo deletion of inline comments in a differential after starting to write a new inline comment results in 'Unhandled Exception ("InvalidArgumentException")'
Closed, DuplicatePublic

Description

Steps to reproduce:

  • Open a diff.
  • Write an inline comment
  • Delete the inline comment
  • Start writing another inline comment
  • (Optionally) Cancel writing the second inline comment
  • Click on "Changes discarded. Undo"

Popup says

Argument 2 passed to DifferentialInlineCommentEditController::canEditInlineComment() must be an instance of DifferentialInlineComment, boolean given, called in /core/lib/phabricator/src/applications/differential/controller/DifferentialInlineCommentEditController.php on line 63 and defined