Steps to reproduce
- Install the sprints extension
Expected results
- I expect that a friendly message is shown, not an error screen or a screen that looks like it is a problem with the extension itself.
Actual results
- I get this error
Unhandled Exception ("SprintException")
There are no Sprints to show yet
To Create a Sprint, go to /project/create/ and make sure that the "Is Sprint" box has been checked
5 sprint storage/SprintListDataProvider.php : 30 SprintQuery::getSprintPHIDs()
4 sprint controller/SprintListController.php : 15 SprintListDataProvider::execute()
3 phabricator aphront/configuration/AphrontApplicationConfiguration.php : 257 SprintListController::handleRequest()
2 phabricator aphront/configuration/AphrontApplicationConfiguration.php : 169 AphrontApplicationConfiguration::processRequest()
1 /srv/phab/phabricator/webroot/index.php : 17 AphrontApplicationConfiguration::runHTTPRequest()
From the error log
[Mon Oct 03 17:00:23.328115 2016] [:error] [pid 13682] [client 10.68.21.68:41126] [2016-10-03 17:00:23] EXCEPTION: (SprintException) There are no Sprints to show yet\nTo Create a Sprint, go to /project/create/ and make sure that the "Is Sprint" box has been checked at [<sprint>/query/SprintQuery.php:148]
[Mon Oct 03 17:00:23.328868 2016] [:error] [pid 13682] [client 10.68.21.68:41126] arcanist(), phabricator(), phutil(), sprint(), wmf-ext-misc(head=4305a9bb0300650ea40de433261c7e59cc88e4bc, ref.master=rPHDEPb9ef898b41d5)
[Mon Oct 03 17:00:23.328879 2016] [:error] [pid 13682] [client 10.68.21.68:41126] #0 <#2> SprintQuery::getSprintPHIDs() called at [<sprint>/storage/SprintListDataProvider.php:30]
[Mon Oct 03 17:00:23.328882 2016] [:error] [pid 13682] [client 10.68.21.68:41126] #1 <#2> SprintListDataProvider::execute() called at [<sprint>/controller/SprintListController.php:15]
[Mon Oct 03 17:00:23.328886 2016] [:error] [pid 13682] [client 10.68.21.68:41126] #2 <#2> SprintListController::handleRequest(AphrontRequest) called at [<phabricator>/src/aphront/configuration/AphrontApplicationConfiguration.php:257]
[Mon Oct 03 17:00:23.328894 2016] [:error] [pid 13682] [client 10.68.21.68:41126] #3 phlog(SprintException) called at [<phabricator>/src/aphront/handler/PhabricatorDefaultRequestExceptionHandler.php:41]
[Mon Oct 03 17:00:23.328897 2016] [:error] [pid 13682] [client 10.68.21.68:41126] #4 PhabricatorDefaultRequestExceptionHandler::handleRequestException(AphrontRequest, SprintException) called at [<phabricator>/src/aphront/configuration/AphrontApplicationConfiguration.php:671]
[Mon Oct 03 17:00:23.328901 2016] [:error] [pid 13682] [client 10.68.21.68:41126] #5 AphrontApplicationConfiguration::handleException(SprintException) called at [<phabricator>/src/aphront/configuration/AphrontApplicationConfiguration.php:262]
[Mon Oct 03 17:00:23.328904 2016] [:error] [pid 13682] [client 10.68.21.68:41126] #6 AphrontApplicationConfiguration::processRequest(AphrontRequest, PhutilDeferredLog, AphrontPHPHTTPSink, MultimeterControl) called at [<phabricator>/src/aphront/configuration/AphrontApplicationConfiguration.php:169]
[Mon Oct 03 17:00:23.328916 2016] [:error] [pid 13682] [client 10.68.21.68:41126] #7 AphrontApplicationConfiguration::runHTTPRequest(AphrontPHPHTTPSink) called at [<phabricator>/webroot/index.php:17]