Page MenuHomePhorge

Pholio: RuntimeException: Undefined variable $dictionary when adding an empty Inline Comment
Closed, ResolvedPublic

Description

  1. PHP 8.2.7; Phorge at 980293b707a0180757f7708fbea8042a5cb1dd1d
  2. Go to http://phorge.localhost/pholio/
  3. Select Create Mock in upper right corner to go to http://phorge.localhost/pholio/create/
  4. In the Name field, enter whatever
  5. Select "Click here, or drag and drop images to add them to the mock."
  6. Select an image in the file chooser
  7. Select the Upload button
  8. Select Create button at the bottom
  9. On the resulting page http://phorge.localhost/M7 , move the mouse pointer over the image canvas and click, to get the "New Inline Comment" overlay dialog
  10. Do not enter any text
  11. Select the Save Draft button
[2023-06-09 18:29:22] EXCEPTION: (RuntimeException) Undefined variable $dictionary at [<arcanist>/src/error/PhutilErrorHandler.php:261]
arcanist(head=master, ref.master=b325304b6e52), phorge(head=master, ref.master=980293b707a0)
  #0 <#2> PhutilErrorHandler::handleError(integer, string, string, integer) called at [<phorge>/src/applications/pholio/controller/PholioInlineController.php:117]
  #1 <#2> PholioInlineController::handleRequest(AphrontRequest) called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:284]
  #2 phlog(RuntimeException) called at [<phorge>/src/aphront/handler/PhabricatorDefaultRequestExceptionHandler.php:41]
  #3 PhabricatorDefaultRequestExceptionHandler::handleRequestThrowable(AphrontRequest, RuntimeException) called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:751]
  #4 AphrontApplicationConfiguration::handleThrowable(RuntimeException) called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:296]
  #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]