Page MenuHomePhabricator

Unhandled Exception ("RuntimeException") – Undefined variable: provider
Closed, ResolvedPublic

Description

I setup a username/password authentication provider, which does not allow registration but uses the default settings otherwise. Then I was taken to the /auth page, where I clicked the just created provider. On the following page I was greeted with:

Unhandled Exception ("RuntimeException")
Undefined variable: provider

The Apache error log says:

EXCEPTION: (RuntimeException) Undefined variable: provider at [<phutil>/src/error/PhutilErrorHandler.php:210], referer: https://…/auth/
   #0 PhutilErrorHandler::handleError(integer, string, string, integer, array) called at [<phabricator>/src/applications/auth/controller/config/PhabricatorAuthEditController.php:42], referer: https://…/auth/
   #1 PhabricatorAuthEditController::handleRequest(AphrontRequest) called at [<phabricator>/src/aphront/configuration/AphrontApplicationConfiguration.php:196], referer: https://…/auth/
   #2 AphrontApplicationConfiguration::processRequest(AphrontRequest, PhutilDeferredLog, AphrontPHPHTTPSink) called at [<phabricator>/src/aphront/configuration/AphrontApplicationConfiguration.php:121], referer: https://…/auth/
   #3 AphrontApplicationConfiguration::runHTTPRequest(AphrontPHPHTTPSink) called at [<phabricator>/webroot/index.php:19], referer: https://…/auth/

Versions are:
arcanist: bb8e9d7357a6417bf7231abd64f2bf33b8f8fbc2
libphutil: d7e7df98d2ea4c333e34bbd154fe8a542a335b63
phabricator: 2ff85620f0155d0b6433903d9cc9482afe84280b