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, Nov 25, 12:13 AM
Unknown Object (File)
Wed, Nov 20, 6:38 PM
Unknown Object (File)
Nov 16 2024, 5:45 AM
Unknown Object (File)
Nov 11 2024, 9:23 PM
Unknown Object (File)
Nov 7 2024, 9:01 PM
Unknown Object (File)
Oct 30 2024, 2:23 PM
Unknown Object (File)
Oct 16 2024, 1:56 AM
Unknown Object (File)
Oct 14 2024, 1:32 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
Branch
cal3
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 14332
Build 18657: Run Core Tests
Build 18656: arc lint + arc unit

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.