Homec4science

Record a "series parent PHID" on Calendar events that retains relationships…

Authored by epriestley <git@epriestley.com> on Oct 31 2016, 21:47.

Description

Record a "series parent PHID" on Calendar events that retains relationships after forks

Summary:
When you edit "X and all future events", X becomes the new parent of an event series.

Currently, it loses its relationship to its original parent. Instead, retain that relationship -- it's separate from the normal "parent", but we can use it to make the UI more clear or tweak behaviors later.

This mostly just keeps us from losing/destroying data that we might need/want later.

Test Plan:

  • Ran migrations.
  • Cancelled "X and all future events", saw sensible-appearing beahvior in the database for "seriesParentPHID".

Reviewers: chad

Reviewed By: chad

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

Details

Committed
epriestley <git@epriestley.com>Oct 31 2016, 23:30
Pushed
aubortJan 31 2017, 17:16
Parents
rPHf44a9a4e4896: Remove "isCancelledEvent()" wrapper on Calendar Events
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHb084efb36290: Record a "series parent PHID" on Calendar events that retains relationships… (authored by epriestley <git@epriestley.com>).Oct 31 2016, 23:30