HomePhorge

Improve remarkup metadata robustness against debris in the database

Description

Improve remarkup metadata robustness against debris in the database

Summary:
Ref T13682. Versioned drafts may have missing or unexpected metadata:

  • versioned drafts from an older version of Phabricator may be missing metadata;
  • versioned drafts created by an older UI against a newer version of Phabricator may have null metadata.

Generally, make these workflows robust to metadata in unexpected formats, so database debris doesn't break the UI.

Test Plan: Simulated debris, interacted with UI.

Maniphest Tasks: T13682

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

Details

Provenance
epriestley <git@epriestley.com>Authored on May 28 2022, 13:27
aviveyPushed on Tue, Jul 26, 15:02
aviveyPushed on Tue, Jul 26, 15:01
Parents
rP809ae8175259: Update Slowvote poll status to use sensible string constants
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rP835cd7f2706f: Improve remarkup metadata robustness against debris in the database (authored by epriestley <git@epriestley.com>).May 28 2022, 13:29