{
  "WorkItem": {
    "AffectedComponent": {
      "Name": "",
      "DisplayName": ""
    },
    "ClosedComment": "fixed in v1.3",
    "ClosedDate": "2008-02-05T13:57:19.39-08:00",
    "CommentCount": 0,
    "Custom": null,
    "Description": "Hi,\n \nI have been test driving the ZipDir example and found a strange behaviour.\nI changed the the AddDirectory call to this:\n \n  using (ZipFile zip = new ZipFile(args[0], System.Console.Out))\n            {\n                zip.AddDirectory(args[1], System.IO.Path.GetFileName(args[1]).ToString()+\"\\\\\");                    \n                zip.Save();\n            }\n \nSo that the path in the zip would start at the foldername (Home) excluding c:\\Users\\BRJ\\Documents\\Programs\\Zip\\DOT.NET\\DotNetZip-src-v1.2\\DotNetZip\\Examples\\ZipDir\\bin\\Debug\\\n \n \nThis is the commandline call to ZipDir.exe:\n \nZipDir.exe home.zip c:\\Users\\BRJ\\Documents\\Programs\\Zip\\DOT.NET\\DotNetZip-src-v1.2\\DotNetZip\\Examples\\ZipDir\\bin\\Debug\\home\n \nIn the home directory there are following files:\nvee.io\n\\test\\vee.io\n \nThis proceduces exception: System.Exception: That entry already exists.\n   at Ionic.Utils.Zip.ZipFile.InsureUniqueEntry(ZipEntry ze1) in c:\\dinoch\\dev\\d\notnet\\zip\\DotNetZip\\Library\\ZipFile.cs:line 442\n   at Ionic.Utils.Zip.ZipFile.AddFile(String FileName, String DirectoryPathInArc\nhive) in c:\\dinoch\\dev\\dotnet\\zip\\DotNetZip\\Library\\ZipFile.cs:line 430\n   at Ionic.Utils.Zip.ZipFile.AddDirectory(String DirectoryName, String Director\nyPathInArchive) in c:\\dinoch\\dev\\dotnet\\zip\\DotNetZip\\Library\\ZipFile.cs:line 49\n3\n   at Ionic.Utils.Zip.ZipFile.AddDirectory(String DirectoryName, String Director\nyPathInArchive) in c:\\dinoch\\dev\\dotnet\\zip\\DotNetZip\\Library\\ZipFile.cs:line 49\n9\n   at ZipDir.Main(String[] args) in C:\\Users\\BRJ\\Documents\\Programs\\Zip\\DOT.NET\\\nDotNetZip-src-v1.2\\DotNetZip\\Examples\\ZipDir\\ZipDir.cs:line 63\n \nHowever using the function:\nzip.AddDirectory(args[1]);\n \nProceduces a zip containing the same files two times with no problems ??\n \nAm I using it wrong, or is this a library error ?\n \nBest regards\n \nBrian",
    "LastUpdatedDate": "2013-05-16T05:32:49.823-07:00",
    "PlannedForRelease": "1.3 DotNetZip Library",
    "ReleaseVisibleToPublic": true,
    "Priority": {
      "Name": "Low",
      "Severity": 50,
      "Id": 1
    },
    "ProjectName": "DotNetZip",
    "ReportedDate": "2007-11-21T03:19:48.627-08:00",
    "Status": {
      "Name": "Closed",
      "Id": 4
    },
    "ReasonClosed": {
      "Name": "Unassigned"
    },
    "Summary": "Possible error using AddDirectory function",
    "Type": {
      "Name": "Issue",
      "Id": 3
    },
    "VoteCount": 1,
    "Id": 2434
  },
  "FileAttachments": [],
  "Comments": [
    {
      "Message": "fixed in changset 14438.",
      "PostedDate": "2008-02-01T09:06:05.98-08:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2008-02-01T09:06:07.493-08:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2008-02-01T09:09:51.43-08:00",
      "Id": -2147483648
    },
    {
      "Message": "\r\n\r\n** Closed by Cheeso 2/1/2008 9:09 AM",
      "PostedDate": "2008-02-05T13:57:00.5-08:00",
      "Id": -2147483648
    },
    {
      "Message": "re-opening to assign to a release.",
      "PostedDate": "2008-02-05T13:57:00.83-08:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2008-02-05T13:57:09.89-08:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2008-02-05T13:57:19.39-08:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2013-02-21T18:44:54.823-08:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2013-05-16T05:32:49.823-07:00",
      "Id": -2147483648
    }
  ]
}