Homec4science

Remove extra container tag on HandleListViews rendering from…

Authored by epriestley <git@epriestley.com> on Jan 9 2017, 17:16.

Description

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

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.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T12082, T11114

Differential Revision: https://secure.phabricator.com/D17162

Details

Committed
epriestley <git@epriestley.com>Jan 9 2017, 17:41
Pushed
aubortJan 31 2017, 17:16
Parents
rPH425deeb52391: Fix an issue which could prevent blocking reviewers from being removed from…
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHb08c9b3ffa8a: Remove extra container tag on HandleListViews rendering from… (authored by epriestley <git@epriestley.com>).Jan 9 2017, 17:41