Page MenuHomePhorge

Transaction Log after renaming Pholio Mock image: Unhandled Exception: Call to undefined method PholioImageSequenceTransaction::renderHandleLink()
Closed, ResolvedPublic

Description

Steps to reproduce:

  1. PHP 8.2.13, Phorge at c3850a3c1530fa2d52c81ad35de4f0a6e12459a9
  2. Go to http://phorge.localhost/pholio/create/
  3. In the Name field, enter handleLink
  4. Under Click here, add an image file called oldname.jpg, select Upload button
  5. Click Create button on http://phorge.localhost/pholio/create/
  6. On resulting http://phorge.localhost/M15 , select Edit Mock to get to http://phorge.localhost/pholio/edit/15/
  7. In the Title field next to the image, change oldname.jpg to newname.jpg and click Save button
  8. Go to http://phorge.localhost/feed/transactions/query/all/

Actual outcome:
Unhandled Exception: Call to undefined method PholioImageSequenceTransaction::renderHandleLink()

Screenshot from 2023-11-29 15-30-31.png (974×960 px, 138 KB)

Interestingly, the PHP error log is a bit different:

[2023-11-29 14:27:19] EXCEPTION: (Error) Call to undefined method PholioImageSequenceTransaction::renderHandleLink() at [<phorge>/src/applications/pholio/xaction/PholioImageSequenceTransaction.php:32]
arcanist(head=master, ref.master=5bc53cfe53d0), phorge(head=master, ref.master=c3850a3c1530)
  #0 phlog(Error) called at [<phorge>/src/aphront/handler/PhabricatorDefaultRequestExceptionHandler.php:41]
  #1 PhabricatorDefaultRequestExceptionHandler::handleRequestThrowable(AphrontRequest, Error) called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:751]
  #2 AphrontApplicationConfiguration::handleThrowable(Error) called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:296]
  #3 AphrontApplicationConfiguration::processRequest(AphrontRequest, PhutilDeferredLog, AphrontPHPHTTPSink, MultimeterControl) called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:203]
  #4 AphrontApplicationConfiguration::runHTTPRequest(AphrontPHPHTTPSink) called at [<phorge>/webroot/index.php:35]

(Once fixed / worked around, you'll run into T15679 which is a separate issue.)