From 65cdfa292f6de15a78a81ef2f4f941343a330e45 Mon Sep 17 00:00:00 2001 From: epriestley Date: Fri, 19 Jun 2015 08:59:15 -0700 Subject: [PATCH] Probably fix Diviner atom collisions Ref T8618. I think this was just typoed in D13070. Immediate issue is that we're looking for symbols with the book name as a "phid". Auditors: joshuaspence --- src/applications/diviner/publisher/DivinerLivePublisher.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applications/diviner/publisher/DivinerLivePublisher.php b/src/applications/diviner/publisher/DivinerLivePublisher.php index 4af0a68c8e..f2ad34fd5e 100644 --- a/src/applications/diviner/publisher/DivinerLivePublisher.php +++ b/src/applications/diviner/publisher/DivinerLivePublisher.php @@ -50,7 +50,7 @@ final class DivinerLivePublisher extends DivinerPublisher { private function loadSymbolForAtom(DivinerAtom $atom) { $symbol = id(new DivinerAtomQuery()) ->setViewer(PhabricatorUser::getOmnipotentUser()) - ->withBookPHIDs(array($atom->getBook())) + ->withBookPHIDs(array($this->getBook()->getPHID())) ->withTypes(array($atom->getType())) ->withNames(array($atom->getName())) ->withContexts(array($atom->getContext()))