1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-25 08:12:40 +01:00
phorge-phorge/src/applications/daemon
epriestley 1c088822b4 Fix a fatal when viewing a daemon task with an invalid ID
Summary:
Fixes T11295. Prior to this change, the "404 page" for daemon tasks fatals.

This page is special cased a little bit and not a normal 404 page, because it's possible for you to click a valid link and the task to get GC'd by the time you load the page, or similar. It tries to be a little more user-friendly than a bare 404.

Test Plan:
  - Visited `/daemon/task/1428348920328/` (any invalid ID).
  - Now got a nice "no such task" page.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11295

Differential Revision: https://secure.phabricator.com/D16254
2016-07-08 07:08:45 -07:00
..
application Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
controller Fix a fatal when viewing a daemon task with an invalid ID 2016-07-08 07:08:45 -07:00
event Remove daemon envHash and envInfo 2015-11-11 08:54:45 +11:00
garbagecollector Provide bin/garbage for interacting with garbage collection 2015-10-02 09:17:24 -07:00
management Fail explicitly instead of continuing with a warning if "phd.user" is misconfigured 2016-04-15 14:09:13 -07:00
query Use __CLASS__ instead of hard-coding class names 2015-05-14 07:21:13 +10:00
storage Remove daemon envHash and envInfo 2015-11-11 08:54:45 +11:00
view Improve daemon console for daemons on multiple hosts 2016-04-15 12:19:58 -07:00