mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-28 08:20:57 +01:00
119c2b8cec
Summary: `getArcanistProjectName()` has some logic which gets messy with the `self::ATTACHABLE` mechanism. This makes `differential.getdiff` and similar Conduit methods throw an exception when querying a diff which doesn't have a project. See <http://pastebin.com/Czzrd0Jz>. Instead, unconditionally attach a project (possibly `null`) when loading diffs if they need projects. Test Plan: Ran `differential.getdiff` against a `arc diff --raw` diff with no project, got a result instead of an exception. Reviewers: btrahan Reviewed By: btrahan CC: aran, sttwister Differential Revision: https://secure.phabricator.com/D7101 |
||
---|---|---|
.. | ||
__tests__ | ||
application | ||
conduit | ||
config | ||
constants | ||
controller | ||
doorkeeper | ||
editor | ||
events | ||
exception | ||
field | ||
lipsum | ||
parser | ||
phid | ||
query | ||
remarkup | ||
render | ||
search | ||
storage | ||
view | ||
DifferentialTasksAttacher.php |