{
  "WorkItem": {
    "AffectedComponent": {
      "Name": "",
      "DisplayName": ""
    },
    "ClosedComment": "implemented in 29832.  First available in v1.8.1.15.",
    "ClosedDate": "2009-03-08T15:06:33.293-07:00",
    "CommentCount": 0,
    "Custom": null,
    "Description": "in v1.7, there is a bool option for specifying what to do when extracting entries from an archive, and the files already exist. This is often a bool wantOverwrite parameter on methods, or the OverwriteOnExtract property on the ZipEntry.\nThe two options are:  true= overwrite the file, or false = throw an exception.  This is very limiting in a number of scenarios. \n \nThere ought to be more options.  I can think of these: \n \n- Overwrite any existing files, silently\n- Don't overwrite and throw an exception if any files already exist.\n- Don't overwrite, silently\n- Callback into the app to let the app decide. (an OnExistingFile event)\n \nI want to extend DotNetZip to provide this additional flexibility, and I'm trying to figure out how to make the interface for this really simple.  Currently DotNetZip covers #1 and #2 in the list with the bool option.   #4 is sort of a catch all that can cover the #3 option, and more. \n \nHere's what I propose: \nKeep the bool option, and all its documented behavior.   It will be marked Obsolete in the v1.8 release and remove at some later point.  Add a property called ExtractExistingFile, which takes an enum corresponding to the 4 options above. Also add a new event type, Extract_ExtractingExistingFile.  Then, take the appropriate action (As specified in the ExtractExistingFile enum), when extraction would overwrite an existing file.",
    "LastUpdatedDate": "2013-05-16T05:32:28.173-07:00",
    "PlannedForRelease": "1.8 DotNetZip",
    "ReleaseVisibleToPublic": true,
    "Priority": {
      "Name": "Low",
      "Severity": 50,
      "Id": 1
    },
    "ProjectName": "DotNetZip",
    "ReportedDate": "2009-03-08T08:12:45.74-07:00",
    "Status": {
      "Name": "Closed",
      "Id": 4
    },
    "ReasonClosed": {
      "Name": "Unassigned"
    },
    "Summary": "Better options for selecting Extract behavior when files already exist",
    "Type": {
      "Name": "Issue",
      "Id": 3
    },
    "VoteCount": 1,
    "Id": 7241
  },
  "FileAttachments": [],
  "Comments": []
}