Homec4science

Guarantee that fields copied from diffs persist on revisions

Authored by epriestley <git@epriestley.com> on Mar 25 2014, 22:01.

Description

Guarantee that fields copied from diffs persist on revisions

Summary:
Fixes T4636. Currently, we copy fields from the diff to the revision during the external effect phase, but there's no guarantee that we persist the object after this phase.

(In practice, when Herald rules trigger they cause the object to persist on this install, which is why we don't see this issue.)

Instead, move the field copies to the internal phase, where persistence is guaranteed.

Also consolidate some of the diff loading.

Test Plan: Ran arc diff.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: mbishopim3, epriestley

Maniphest Tasks: T4636

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

Details

Committed
epriestley <git@epriestley.com>Mar 25 2014, 22:01
Pushed
aubortJan 31 2017, 17:16
Parents
rPH150a3adf2c78: Minor UI improvements for Harbormaster
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH2547a222d8b1: Guarantee that fields copied from diffs persist on revisions (authored by epriestley <git@epriestley.com>).Mar 25 2014, 22:01