{
  "WorkItem": {
    "AffectedComponent": {
      "Name": "",
      "DisplayName": ""
    },
    "ClosedComment": "",
    "ClosedDate": null,
    "CommentCount": 0,
    "Custom": null,
    "Description": "If you extract the entries of one file and compose a new one with those entries, an error raise when you try to save the new file:\n```\n Using originalZipFile = ZipFile.Read(sourceFilePath)\n      Dim entries = originalZipFile.Entries\n      Dim entriesStreams = New Dictionary(Of ZipEntry, MemoryStream)\n      'Each entry is extracted to ensure the file isn't corrupt\n       For i = 0 To entries.Count - 1\n            Dim sourceStream = New MemoryStream()\n            entries(i).Extract(sourceStream)\n            entriesStreams.Add(entries(i), sourceStream)\n        Next\n              \n        Using outputFile = New ZipFile()\n            For Each keyValue In entriesStreams\n                 Dim entry = keyValue.Key                     \n                 Dim newEntry As ZipEntry\n                 Using copyStream = New MemoryStream(keyValue.Value.ToArray)\n                        'Copy the stream to reopen the previous closed one\n                         copyStream.Seek(0, SeekOrigin.Begin)                           \n                         Using outputStream = New MemoryStream                                  \n                                newEntry = outputFile.AddEntry(entry.FileName, copyStream)                           \n                                newEntry.CreationTime = entry.CreationTime\n                         End Using                       \n              Next\n              outputFile.Save(destinationPath)\n        End Using\nEnd Using\n```",
    "LastUpdatedDate": "2014-04-30T11:19:25.523-07:00",
    "PlannedForRelease": "",
    "ReleaseVisibleToPublic": false,
    "Priority": {
      "Name": "Unassigned",
      "Severity": 0,
      "Id": 0
    },
    "ProjectName": "DotNetZip",
    "ReportedDate": "2014-04-30T11:16:55.15-07:00",
    "Status": {
      "Name": "Proposed",
      "Id": 1
    },
    "ReasonClosed": {
      "Name": "Unassigned"
    },
    "Summary": "Can't find entries extracted temp files on save",
    "Type": {
      "Name": "Unassigned",
      "Id": 5
    },
    "VoteCount": 1,
    "Id": 16824
  },
  "FileAttachments": [],
  "Comments": []
}