Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14081865
D13927.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
700 B
Referenced Files
None
Subscribers
None
D13927.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D13927: Handle application transactions with null data.
Attached
Detach File
Event Timeline
Log In to Comment