Page MenuHomePhabricator

Undefined variable when viewing diff
Closed, ResolvedPublic

Description

A user reported this to me:

[22-Apr-2015 11:29:22 Australia/Sydney] [2015-04-22 11:29:22] EXCEPTION: (RuntimeException) Undefined variable: revision at [<phutil>/src/error/PhutilErrorHandler.php:210]
[22-Apr-2015 11:29:22 Australia/Sydney] arcanist(head=master, ref.master=a9ebe1cb4ffc), phabricator(head=master, ref.master=8c39885076b5), phlab(head=master, ref.master=e7d4da4d8b26), phutil(head=master, ref.master=aaee4009e20d)
[22-Apr-2015 11:29:22 Australia/Sydney]   #0 PhutilErrorHandler::handleError(integer, string, string, integer, array) called at [<phabricator>/src/applications/differential/controller/DifferentialChangesetViewController.php:179]
[22-Apr-2015 11:29:22 Australia/Sydney]   #1 DifferentialChangesetViewController::handleRequest(AphrontRequest) called at [<phabricator>/src/aphront/configuration/AphrontApplicationConfiguration.php:196]
[22-Apr-2015 11:29:22 Australia/Sydney]   #2 AphrontApplicationConfiguration::processRequest(AphrontRequest, PhutilDeferredLog, AphrontPHPHTTPSink) called at [<phabricator>/src/aphront/configuration/AphrontApplicationConfiguration.php:121]
[22-Apr-2015 11:29:22 Australia/Sydney]   #3 AphrontApplicationConfiguration::runHTTPRequest(AphrontPHPHTTPSink) called at [<phabricator>/webroot/index.php:19]

It seems to happen when reviewing a differential from arc diff --preview, I think.

Revisions and Commits

Restricted Differential Revision

Event Timeline

joshuaspence raised the priority of this task from to Needs Triage.
joshuaspence updated the task description. (Show Details)
joshuaspence added a project: Differential.
joshuaspence added a subscriber: joshuaspence.
epriestley added a revision: Restricted Differential Revision.Apr 22 2015, 2:26 AM
epriestley closed this task as Resolved by committing Restricted Diffusion Commit.Apr 22 2015, 2:28 AM
epriestley added a commit: Restricted Diffusion Commit.