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
F19083103: D20860.id49731.diff
Dec 2 2025, 12:30 PM
F19082508: D20860.id49731.diff
Dec 2 2025, 11:23 AM
F19052156: D20860.diff
Nov 28 2025, 3:22 AM
F19018532: D20860.id.diff
Nov 23 2025, 11:27 AM
F19015373: D20860.diff
Nov 23 2025, 12:06 AM
F18997566: D20860.id.diff
Nov 20 2025, 1:57 PM
F18992379: D20860.id49731.diff
Nov 19 2025, 2:19 AM
F18985252: D20860.id49730.diff
Nov 17 2025, 12:57 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