Page MenuHomePhorge

No OneTemporary

diff --git a/resources/sql/patches/20130912.maniphest.4.fillindex.php b/resources/sql/patches/20130912.maniphest.4.fillindex.php
index a1c6738a03..d4d4a4db61 100644
--- a/resources/sql/patches/20130912.maniphest.4.fillindex.php
+++ b/resources/sql/patches/20130912.maniphest.4.fillindex.php
@@ -1,16 +1,20 @@
<?php
// Update the "PROJ" search index, to:
//
// - Populate the index itself, which was added recently.
// - Populate the secondary object name index in Maniphest.
$root = dirname(phutil_get_library_root('phabricator'));
$command = new PhutilExecPassthru(
'php -f %s -- index --type PROJ',
$root.'/scripts/search/manage_search.php');
$err = $command->execute();
if ($err) {
- throw new Exception("Update failed!");
+ // NOTE: Just ignore this. The indexing script fails if there are no projects
+ // yet, and even if it actually fails with something terrible and explosive
+ // it isn't very concerning. The worst case here is that "group by projects"
+ // doesn't work perfectly in Maniphest, and re-running the script later on
+ // can fix it.
}

File Metadata

Mime Type
text/x-diff
Expires
Sun, Jan 19, 19:01 (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1127645
Default Alt Text
(1 KB)

Event Timeline