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
Unknown Object (File)
Sat, Jan 25, 5:44 PM
Unknown Object (File)
Fri, Jan 17, 11:41 PM
Unknown Object (File)
Dec 16 2024, 5:49 AM
Unknown Object (File)
Dec 16 2024, 5:49 AM
Unknown Object (File)
Dec 13 2024, 5:12 PM
Unknown Object (File)
Dec 9 2024, 1:59 PM
Unknown Object (File)
Dec 9 2024, 11:18 AM
Unknown Object (File)
Nov 22 2024, 8:45 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