@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Allow config get to work when db is not functional

Summary: Fixes T6554.

Test Plan:
Run `bin/config get mysql.host` when no db is functional. Should not get an exception, but should see:
```
lang=json
{
"config" : [
{
"key" : "mysql.host",
"source" : "local",
"value" : null,
"status" : "unset",
"errorInfo" : null
},
{
"key" : "mysql.host",
"source" : "database",
"value" : null,
"status" : "error",
"errorInfo" : "Database source is not configured properly"
}
]
}
```

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley

Maniphest Tasks: T6554

Differential Revision: https://secure.phabricator.com/D10851

authored by

Scott Kroll and committed by
epriestley
84f741f4 b8528310

+1 -1
+1 -1
src/applications/config/management/PhabricatorConfigManagementGetWorkflow.php
··· 59 59 ); 60 60 } 61 61 62 - $database_config = new PhabricatorConfigDatabaseSource('default'); 63 62 try { 63 + $database_config = new PhabricatorConfigDatabaseSource('default'); 64 64 $database_value = $database_config->getKeys(array($key)); 65 65 if (empty($database_value)) { 66 66 $values['database'] = array(