Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14001726
D8243.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
682 B
Referenced Files
None
Subscribers
None
D8243.id.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D8243: Fix for Phragment ZIP controller
Attached
Detach File
Event Timeline
Log In to Comment