{
  "WorkItem": {
    "AffectedComponent": {
      "Name": "",
      "DisplayName": ""
    },
    "ClosedComment": "Thanks for reporting this.  fixed in changeset 35686.  first binary 1.8.4.12.",
    "ClosedDate": "2009-07-26T06:26:36.627-07:00",
    "CommentCount": 0,
    "Custom": null,
    "Description": "If you set a ZipEntry's .FileName to what it already is, then the workitem 8047 code deletes the entry from the zip file. For example, if a ZipEntry.FileName property is \"a\", and then you assign the ZipEntry.FileName = \"a\";\n \nThe file gets deleted by this code:\n \n                // workitem 8047\n                if (this._zipfile.EntryFileNames.Contains(filename))\n                    this._zipfile.RemoveEntry(filename);\n \nWe've fixed the bug in our own code by checking for the accidentally renaming to the same name, but it'd be better if your added it to your code. That is add this above the \"// workitem 8047\" in ZipEntry.cs\n \nif(value == filename) return;",
    "LastUpdatedDate": "2013-05-16T05:32:13.647-07:00",
    "PlannedForRelease": "",
    "ReleaseVisibleToPublic": false,
    "Priority": {
      "Name": "Low",
      "Severity": 50,
      "Id": 1
    },
    "ProjectName": "DotNetZip",
    "ReportedDate": "2009-07-25T22:21:42.343-07:00",
    "Status": {
      "Name": "Closed",
      "Id": 4
    },
    "ReasonClosed": {
      "Name": "Unassigned"
    },
    "Summary": "Setting ZipEntry.FileName to the same value removes the entry from the zip",
    "Type": {
      "Name": "Issue",
      "Id": 3
    },
    "VoteCount": 1,
    "Id": 8180
  },
  "FileAttachments": [],
  "Comments": []
}