Ref T2543. When called from the UI to build the dropdown, there's no Editor, since we aren't actually in an edit flow.
This logic worked for actually performing the edits, just not for getting the option into the dropdown.
|  Differential  D18490  
Fix an issue where "Close Revision" did not appear in the UI Authored by epriestley on Aug 29 2017, 4:55 PM. Tags None Referenced Files 
 
 
 
 
 
 
 
 Subscribers None 
Details Ref T2543. When called from the UI to build the dropdown, there's no Editor, since we aren't actually in an edit flow. This logic worked for actually performing the edits, just not for getting the option into the dropdown. Used the dropdown to close an "Accepted" revision which I authored. 
Diff Detail 
 Event TimelineComment Actions Specifically, getEditor() would throw, and the caller would interpret that as "action isn't available". I'm going to cherry-pick and hotfix this. |