{
  "WorkItem": {
    "AffectedComponent": {
      "Name": "",
      "DisplayName": ""
    },
    "ClosedComment": "fixed in changeset 79377.  First binary with this fix&#58; V1.9.1.6",
    "ClosedDate": "2011-06-18T06:06:13.447-07:00",
    "CommentCount": 0,
    "Custom": null,
    "Description": "Saving a zip file twice can cause an exception. \n \n [Test]\n    public void DummyTest()\n    {\n      var zip = Provider.NodeRepository.ZipFile;\n      var entries = zip.Entries.Where(e => e.FileName.Contains(\"Download\")).ToArray();\n \n      //PART1 - Add directory and save\n      zip.AddDirectoryByName(\"XX\");\n      zip.Save();\n      \n      //PART2 - Rename paths (not related to XX directory from above) and save\n      foreach (var zipEntry in entries)\n      {\n        zipEntry.FileName = zipEntry.FileName.Replace(\"Download\", \"Download2\");\n      }\n      zip.Save();\n }\n \nIt seems to reset the Source property of saved entries to \"None\" which causes exceptions when saving more than once.\n \nA description of the issue can be found here:\nhttp://dotnetzip.codeplex.com/Thread/View.aspx?ThreadId=208496\n \nAs a quick guess, it might be that after saving, the Source should be \"ZipFile\" rather than \"None\", but I don't know about the implications though.",
    "LastUpdatedDate": "2013-05-16T05:31:49.363-07:00",
    "PlannedForRelease": "v1.9.1.8 DotNetZip - Latest Stable",
    "ReleaseVisibleToPublic": true,
    "Priority": {
      "Name": "Low",
      "Severity": 50,
      "Id": 1
    },
    "ProjectName": "DotNetZip",
    "ReportedDate": "2010-04-22T04:40:29.987-07:00",
    "Status": {
      "Name": "Closed",
      "Id": 4
    },
    "ReasonClosed": {
      "Name": "Unassigned"
    },
    "Summary": "Setting Entry._Source to \"None\" after Save Causes Exceptions in Later Operations",
    "Type": {
      "Name": "Issue",
      "Id": 3
    },
    "VoteCount": 2,
    "Id": 10694
  },
  "FileAttachments": [],
  "Comments": [
    {
      "Message": "I've put your code into the test suite; now testing.  I don't recall now why I set the _Source to None, rather than ZipFile.  I'll have a close look and see ... it could just be a simple mistake (\"Typo\") in the code. ",
      "PostedDate": "2011-06-17T22:31:12.107-07:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2011-06-18T06:06:13.447-07:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2013-02-21T18:43:33.797-08:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2013-05-16T05:31:49.363-07:00",
      "Id": -2147483648
    }
  ]
}