Page MenuHomePhorge

Fix call to undefined method PhrictionDocumentTitleTransaction::renderHandleLink()
Needs ReviewPublic

Authored by aklapper on Jul 28 2024, 16:29.

Details

Reviewers
None
Group Reviewers
O1: Blessed Committers
Summary

PhrictionDocumentTitleTransaction calls $this->renderHandleLink().
PhabricatorApplicationTransaction defines that method public function renderHandleLink($phid).
PhrictionDocumentTitleTransaction extends PhrictionDocumentVersionTransaction extends PhrictionDocumentTransactionType extends PhabricatorModularTransactionType extends Phobject. No PhabricatorApplicationTransaction in that ancestor tree. Thus this call will fail.
Thus replace renderHandleLink() with renderObject() as used in other getTitle() or getTitleForFeed() implementations.

Test Plan

Unclear how to trigger via the UI, so run static code analysis and read/grep the code.

Diff Detail

Repository
rP Phorge
Branch
phrictionTitleTrans
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 1469
Build 1469: arc lint + arc unit