- Phorge at 5444e1c885c337ede0f1fb4ad1916ae0b49b1413, PHP 8.3.6
- Go to an existing dashboard like http://phorge.localhost/dashboard/view/1/
- Make sure that "Visible to" policy of the dashboard is set to "Public".
- Click "Create Panel" on the Dashboard.
- In the "Choose Panel Type" dialog, select "Query Panel".
- Set "Name" to "ProjectsJoined", set "Search For" to "Projects", set "Query" to "Joined".
- Click "Create Panel".
- Access the dashboard URL while not being logged into Phorge.
[2024-04-15 01:19:48] EXCEPTION: (Exception) Query "joined" is unknown to application search engine "PhabricatorProjectSearchEngine"! at [<phorge>/src/applications/dashboard/paneltype/PhabricatorDashboardQueryPanelType.php:80] arcanist(), ava(), phorge(), translations(), wmf-ext-misc() #0 <#2> PhabricatorDashboardQueryPanelType::renderPanelContent(PhabricatorUser, PhabricatorDashboardPanel, PhabricatorProjectSearchEngine) called at [<phorge>/src/applications/dashboard/engine/PhabricatorDashboardPanelRenderingEngine.php:173] #1 <#2> PhabricatorDashboardPanelRenderingEngine::renderNormalPanel() called at [<phorge>/src/applications/dashboard/engine/PhabricatorDashboardPanelRenderingEngine.php:156] #2 phlog(Exception) called at [<phorge>/src/applications/dashboard/engine/PhabricatorDashboardPanelRenderingEngine.php:158] #3 PhabricatorDashboardPanelRenderingEngine::renderPanel() called at [<phorge>/src/applications/dashboard/controller/panel/PhabricatorDashboardPanelViewController.php:52] #4 PhabricatorDashboardPanelViewController::handleRequest(AphrontRequest) called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:284] #5 AphrontApplicationConfiguration::processRequest(AphrontRequest, PhutilDeferredLog, AphrontPHPHTTPSink, MultimeterControl) called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:204] #6 AphrontApplicationConfiguration::runHTTPRequest(AphrontPHPHTTPSink) called at [<phorge>/webroot/index.php:35]
- Found in our downstream error log, along with some similar exceptions:
- EXCEPTION: (Exception) Query "joined" is unknown to application search engine "PhabricatorProjectSearchEngine"
- EXCEPTION: (Exception) Query "projects" is unknown to application search engine "PhabricatorFeedSearchEngine"!
- EXCEPTION: (Exception) Query "assigned" is unknown to application search engine "ManiphestTaskSearchEngine"!
- See also similar issue D25505: Improve handling queries with "Current Viewer" set while not logged in
- Downstream test case: https://phabricator.wikimedia.org/dashboard/view/132/ with its "Projects > Joined" panel