From ee6070a98492f3faf5f6f5d71780b704fb79512e Mon Sep 17 00:00:00 2001 From: epriestley Date: Tue, 23 Feb 2016 13:44:12 -0800 Subject: [PATCH] Add a couple of missing needProperties() Almanac calls Summary: Fixes T10432. I missed these in making properties non-default. Test Plan: Diffusion now works again in a cluster configuration. Reviewers: chad Reviewed By: chad Maniphest Tasks: T10432 Differential Revision: https://secure.phabricator.com/D15337 --- .../diffusion/controller/DiffusionRepositoryCreateController.php | 1 + src/applications/repository/storage/PhabricatorRepository.php | 1 + 2 files changed, 2 insertions(+) diff --git a/src/applications/diffusion/controller/DiffusionRepositoryCreateController.php b/src/applications/diffusion/controller/DiffusionRepositoryCreateController.php index 1333bf67f9..bfd01ff30c 100644 --- a/src/applications/diffusion/controller/DiffusionRepositoryCreateController.php +++ b/src/applications/diffusion/controller/DiffusionRepositoryCreateController.php @@ -51,6 +51,7 @@ final class DiffusionRepositoryCreateController array( 'AlmanacClusterRepositoryServiceType', )) + ->needProperties(true) ->execute(); if ($services) { // Filter out services which do not permit new allocations. diff --git a/src/applications/repository/storage/PhabricatorRepository.php b/src/applications/repository/storage/PhabricatorRepository.php index c2ed8023f3..e6510e7ad9 100644 --- a/src/applications/repository/storage/PhabricatorRepository.php +++ b/src/applications/repository/storage/PhabricatorRepository.php @@ -2038,6 +2038,7 @@ final class PhabricatorRepository extends PhabricatorRepositoryDAO ->setViewer(PhabricatorUser::getOmnipotentUser()) ->withPHIDs(array($service_phid)) ->needBindings(true) + ->needProperties(true) ->executeOne(); if (!$service) { throw new Exception(