Homec4science

Fix a bug which could cause imported events to set themselves as their own…

Authored by epriestley <git@epriestley.com> on Nov 2 2016, 19:31.

Description

Fix a bug which could cause imported events to set themselves as their own parents

Summary: Ref T11808. This variable is wrong, and would sometimes cause events to set themsevles as their own parents. They would then fail to load, and disrupt cursor paging.

Test Plan:

  • Reproduced T11808 locally by reloading test data 2+ times, creating events with themselves as their own parents.
  • Appplied fix.
  • Nuked data, reloaded, no more self-parents.
  • Test datafile: {F1894017}

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11808

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

Details

Committed
epriestley <git@epriestley.com>Nov 2 2016, 19:44
Pushed
aubortJan 31 2017, 17:16
Parents
rPH3f2f81a1c8ab: Remove obsolete Calendar event date storage fields
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH713f8fb373e4: Fix a bug which could cause imported events to set themselves as their own… (authored by epriestley <git@epriestley.com>).Nov 2 2016, 19:44