Page MenuHomePhorge

Exception creating a "Diffusion Raw Commits" Dashboard query panel
Open, Needs TriagePublic

Description

  1. Phorge at 5444e1c885c337ede0f1fb4ad1916ae0b49b1413, PHP 8.3.6
  2. Go to an existing dashboard like http://phorge.localhost/dashboard/view/1/ and click "Create Panel".
  3. In the "Choose Panel Type" dialog, select "Query Panel".
  4. Set "Name" to "QueryPanelDiffusionCommitsActiveAudits", set "Search For" to "Diffusion Raw Commits". Notice the "Query" dropdown field is empty in this case and provides no options.
  5. Click "Create Panel".
[2024-04-18 17:31:03] EXCEPTION: (Exception) Query "" is unknown to application search engine "DiffusionInternalCommitSearchEngine"! at [<phorge>/src/applications/dashboard/paneltype/PhabricatorDashboardQueryPanelType.php:80]
arcanist(head=master, ref.master=ef73b12b580e), phorge(head=master, ref.master=5444e1c885c3)
  #0 <#2> PhabricatorDashboardQueryPanelType::renderPanelContent(PhabricatorUser, PhabricatorDashboardPanel, DiffusionInternalCommitSearchEngine) called at [<phorge>/src/applications/dashboard/engine/PhabricatorDashboardPanelRenderingEngine.php:172]
  #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/PhabricatorDashboardPanelRenderController.php:55]
  #4 PhabricatorDashboardPanelRenderController::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:203]
  #6 AphrontApplicationConfiguration::runHTTPRequest(AphrontPHPHTTPSink) called at [<phorge>/webroot/index.php:35]

I do not know what "Diffusion Raw Commits" are supposed to be compared to "Diffusion Commits" - maybe this option just should not be exposed at all?