Page MenuHomePhabricator

Fix an issue with "Auditors:" where an edge edit was used as a PHID list
ClosedPublic

Authored by epriestley on Apr 28 2020, 12:46 PM.
Tags
None
Referenced Files
F18823682: D21181.diff
Thu, Oct 23, 12:56 PM
F18823122: D21181.diff
Thu, Oct 23, 10:17 AM
F18819678: D21181.id.diff
Wed, Oct 22, 8:29 AM
F18812551: D21181.diff
Mon, Oct 20, 10:20 AM
F18757624: D21181.id.diff
Sun, Oct 5, 6:25 PM
F18745488: D21181.diff
Fri, Oct 3, 7:21 AM
F18227106: D21181.id.diff
Aug 20 2025, 5:23 AM
F18215964: D21181.diff
Aug 19 2025, 7:20 AM
Subscribers
None

Details

Summary

See https://discourse.phabricator-community.org/t/runtimeexception-during-import-of-commit/3801. When importing commits with "Auditors:", a raw transaction new value (with an edge edit map using a "+" key) may be passed as an unmentionable PHID list.

Instead, pass an actual PHID list.

Test Plan
  • Pushed a commit with "Auditors: duck".
  • Ran daemons.
    • Before patch: umentionable PHID exception.
    • After patch: clean commit import.
  • Verified "duck" was added as an auditor.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable