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
F18809174: D20860.id.diff
Sun, Oct 19, 11:40 AM
F18807251: D20860.diff
Sun, Oct 19, 12:08 AM
F18734081: D20860.id.diff
Tue, Sep 30, 10:47 PM
F18698970: D20860.id49731.diff
Sat, Sep 27, 12:07 PM
F18622041: D20860.diff
Sep 15 2025, 10:16 AM
F18606545: D20860.id49730.diff
Sep 13 2025, 10:26 PM
F18596269: D20860.diff
Sep 13 2025, 12:12 AM
F18590658: D20860.id49730.diff
Sep 12 2025, 6:42 AM
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