Page MenuHomePhabricator

Fix access to undeclared variable when trying to create invalid Auth provider
ClosedPublic

Authored by epriestley on Jan 14 2015, 2:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jan 30, 2:47 PM
Unknown Object (File)
Mon, Jan 27, 8:16 AM
Unknown Object (File)
Sat, Jan 25, 10:09 PM
Unknown Object (File)
Thu, Jan 23, 9:49 PM
Unknown Object (File)
Thu, Jan 23, 9:49 PM
Unknown Object (File)
Thu, Jan 23, 9:49 PM
Unknown Object (File)
Thu, Jan 23, 9:49 PM
Unknown Object (File)
Sat, Jan 18, 3:09 PM
Subscribers

Details

Summary

Ref T6971. This fixes the error the user reported. Not sure what's up with the root cause of their issue.

Test Plan

Went to /auth/config/new/asdfqwer/ and got a 404 instead of an exception.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Fix access to undeclared variable when trying to create invalid Auth provider.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
src/applications/auth/controller/config/PhabricatorAuthEditController.php
44

Specifically, we'd hit an exception on this line after failing to match a candidate.

chad added a reviewer: chad.
This revision is now accepted and ready to land.Jan 14 2015, 2:50 PM
This revision was automatically updated to reflect the committed changes.