Page MenuHomePhabricator

D8243.id.diff
No OneTemporary

D8243.id.diff

Index: src/applications/phragment/controller/PhragmentZIPController.php
===================================================================
--- src/applications/phragment/controller/PhragmentZIPController.php
+++ 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, Oct 26, 11:26 AM (2 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6750617
Default Alt Text
D8243.id.diff (682 B)

Event Timeline