mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-30 01:10:58 +01:00
82be07315c
Summary: Fixes T7848. @jasonfsmitty discussed an issue in great detail there and in D14359, and I completely missed it. Specifically: - If you save a "Change status to: Open" rule in Maniphest, and then edit it again, the token shows "Unknown Object (???)" instead of the correct token. - That's because loadHandles() has no idea what to do with the value "open", since it's not a real PHID. The way we render tokenizer tokens in Herald is quite hacky right now. Fortunately, I wrote a //slightly// better way for EditEngine yesterday or the day before. Use the slightly better way to fix the issue with D14359. This could still be better than it is, but the badness is mostly hidden now and can be cleaned up later without impacting anything. Test Plan: Edited a Herald rule with projects and status changes, saw proper tokens. Reviewers: chad Reviewed By: chad Subscribers: jasonfsmitty Maniphest Tasks: T7848 Differential Revision: https://secure.phabricator.com/D14682 |
||
---|---|---|
.. | ||
herald-rule-editor.js | ||
HeraldRuleEditor.js | ||
PathTypeahead.js |