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 29, 3:17 PM
Unknown Object (File)
Wed, Apr 24, 11:03 PM
Unknown Object (File)
Mon, Apr 8, 10:21 AM
Unknown Object (File)
Mar 30 2024, 1:21 AM
Unknown Object (File)
Mar 27 2024, 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
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.