Page MenuHomePhabricator

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

Authored by epriestley on Nov 2 2016, 6:34 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 8, 10:21 AM
Unknown Object (File)
Sat, Mar 30, 1:21 AM
Unknown Object (File)
Wed, Mar 27, 7:50 PM
Unknown Object (File)
Mar 13 2024, 8:39 PM
Unknown Object (File)
Mar 5 2024, 12:54 PM
Unknown Object (File)
Feb 6 2024, 11:16 PM
Unknown Object (File)
Jan 26 2024, 8:17 AM
Unknown Object (File)
Dec 20 2023, 7:52 AM
Subscribers
None

Details

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:

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Fix a bug which could cause imported events to set themselves as their own parents.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Nov 2 2016, 6:43 PM
This revision was automatically updated to reflect the committed changes.