Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15410063
D18890.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D18890.diff
View Options
diff --git a/src/applications/daemon/controller/PhabricatorWorkerTaskDetailController.php b/src/applications/daemon/controller/PhabricatorWorkerTaskDetailController.php
--- a/src/applications/daemon/controller/PhabricatorWorkerTaskDetailController.php
+++ b/src/applications/daemon/controller/PhabricatorWorkerTaskDetailController.php
@@ -79,13 +79,20 @@
->appendChild($view);
}
- private function buildPropertyListView(
- PhabricatorWorkerTask $task) {
-
- $viewer = $this->getRequest()->getUser();
+ private function buildPropertyListView(PhabricatorWorkerTask $task) {
+ $viewer = $this->getViewer();
$view = new PHUIPropertyListView();
+ $object_phid = $task->getObjectPHID();
+ if ($object_phid) {
+ $handles = $viewer->loadHandles(array($object_phid));
+ $handle = $handles[$object_phid];
+ if ($handle->isComplete()) {
+ $view->addProperty(pht('Object'), $handle->renderLink());
+ }
+ }
+
if ($task->isArchived()) {
switch ($task->getResult()) {
case PhabricatorWorkerArchiveTask::RESULT_SUCCESS:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 20, 6:45 AM (2 d, 3 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7387171
Default Alt Text
D18890.diff (1 KB)
Attached To
Mode
D18890: Show related objects on daemon worker task queue detail pages
Attached
Detach File
Event Timeline
Log In to Comment