Page MenuHomePhabricator

D8243.id19612.diff
No OneTemporary

D8243.id19612.diff

diff --git a/src/applications/phragment/controller/PhragmentZIPController.php b/src/applications/phragment/controller/PhragmentZIPController.php
--- a/src/applications/phragment/controller/PhragmentZIPController.php
+++ b/src/applications/phragment/controller/PhragmentZIPController.php
@@ -85,7 +85,10 @@
$files = mpull($files, null, 'getPHID');
foreach ($mappings as $path => $file_phid) {
if (!isset($files[$file_phid])) {
+ // The path is most likely pointing to a deleted fragment, which
+ // hence no longer has a file associated with it.
unset($mappings[$path]);
+ continue;
}
$mappings[$path] = $files[$file_phid];
}

File Metadata

Mime Type
text/plain
Expires
Sat, Mar 22, 1:36 AM (2 d, 22 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7716254
Default Alt Text
D8243.id19612.diff (692 B)

Event Timeline