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
This commit is contained in:
@@ -51,6 +51,7 @@ final class DiffusionRepositoryCreateController
|
|||||||
array(
|
array(
|
||||||
'AlmanacClusterRepositoryServiceType',
|
'AlmanacClusterRepositoryServiceType',
|
||||||
))
|
))
|
||||||
|
->needProperties(true)
|
||||||
->execute();
|
->execute();
|
||||||
if ($services) {
|
if ($services) {
|
||||||
// Filter out services which do not permit new allocations.
|
// Filter out services which do not permit new allocations.
|
||||||
|
|||||||
@@ -2038,6 +2038,7 @@ final class PhabricatorRepository extends PhabricatorRepositoryDAO
|
|||||||
->setViewer(PhabricatorUser::getOmnipotentUser())
|
->setViewer(PhabricatorUser::getOmnipotentUser())
|
||||||
->withPHIDs(array($service_phid))
|
->withPHIDs(array($service_phid))
|
||||||
->needBindings(true)
|
->needBindings(true)
|
||||||
|
->needProperties(true)
|
||||||
->executeOne();
|
->executeOne();
|
||||||
if (!$service) {
|
if (!$service) {
|
||||||
throw new Exception(
|
throw new Exception(
|
||||||
|
|||||||
Reference in New Issue
Block a user