Page MenuHomePhabricator

Fix a fatal in the "Projects" curtain extension when a project edge connects an object to a non-project
ClosedPublic

Authored by epriestley on Oct 17 2019, 4:43 PM.
Tags
None
Referenced Files
Unknown Object (File)
Aug 31 2026, 6:01 AM
Unknown Object (File)
Aug 16 2026, 4:49 AM
Unknown Object (File)
Aug 15 2026, 5:18 PM
Unknown Object (File)
Aug 15 2026, 5:45 AM
Unknown Object (File)
Jun 30 2026, 4:18 PM
Unknown Object (File)
Jun 22 2026, 9:23 AM
Unknown Object (File)
Apr 6 2026, 11:33 AM
Unknown Object (File)
Apr 1 2026, 9:32 PM
Subscribers
None

Details

Summary

Ref T13429. It's currently possible to write "TYPE_EDGE" relationships for the "object has project" edge to PHIDs which may not actually be projects. Today, this fatals.

As a first step, unfatal it. T13429 discusses general improvements and greater context.

Test Plan

Used "maniphest.edit" to write a "project" edge to a user PHID, viewed the task in the UI. Previously it fataled; now it renders unusually (the object is "tagged" with a user) but faithfully reflects database state.

Screen Shot 2019-10-17 at 9.41.09 AM.png (142×342 px, 9 KB)

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable