Page MenuHomePhabricator

Remove extra container tag on HandleListViews rendering from ModularTransactions in text mode
ClosedPublic

Authored by epriestley on Jan 9 2017, 4:19 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Feb 24, 5:47 AM
Unknown Object (File)
Sun, Feb 23, 10:22 AM
Unknown Object (File)
Fri, Feb 21, 3:02 PM
Unknown Object (File)
Tue, Feb 18, 9:11 PM
Unknown Object (File)
Tue, Feb 11, 7:30 PM
Unknown Object (File)
Feb 1 2025, 4:05 AM
Unknown Object (File)
Jan 21 2025, 11:46 AM
Unknown Object (File)
Jan 13 2025, 3:30 PM
Subscribers
None

Details

Summary

Fixes T12082. Ref T11114. When modular transaction render a handle list, they use HandleListView, which has a text mode.

However, the HandleListView is a TagView, and currently TagViews always render a tag of some kind. Allow them to return null to decline to render any tag.

Test Plan
  • Added a pile of debugging stuff to ApplicationTransactionEditor to throw during mail generation.
  • Added a reviewer to a revision.
  • Used bin/worker execute --id ... to hit the mail generation repeatedly.
  • Before patch: mail generated with a <span>, even in text mode.
  • After patch: clean mail generation.

Diff Detail

Repository
rP Phabricator
Branch
literal2
Lint
Lint Passed
SeverityLocationCodeMessage
Advicesrc/applications/phid/view/PHUIHandleListView.php:44XHP16TODO Comment
Unit
Tests Passed
Build Status
Buildable 15157
Build 19910: Run Core Tests
Build 19909: arc lint + arc unit