Page MenuHomePhabricator

D13927.diff
No OneTemporary

D13927.diff

Index: src/applications/transactions/worker/PhabricatorApplicationTransactionPublishWorker.php
===================================================================
--- src/applications/transactions/worker/PhabricatorApplicationTransactionPublishWorker.php
+++ src/applications/transactions/worker/PhabricatorApplicationTransactionPublishWorker.php
@@ -29,6 +29,11 @@
$data = $this->getTaskData();
$viewer = PhabricatorUser::getOmnipotentUser();
+ if (!$data) {
+ throw new PhabricatorWorkerPermanentFailureException(
+ pht('Task has no data!'));
+ }
+
$phid = idx($data, 'objectPHID');
if (!$phid) {
throw new PhabricatorWorkerPermanentFailureException(

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 23, 10:05 PM (19 h, 19 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6779805
Default Alt Text
D13927.diff (700 B)

Event Timeline