Cannot Extract Files when the Extract has been Canceled before

Nov 4, 2011 at 9:05 AM

Hi,

I'm using DotNetZip 1.9.1.8 (Ionic.Zip.dll) in my current program. Most things work perfectly well - thanks.

 

But now I encountered a Problem. I allow users to extract files via my program. Hereby I also have a Cancel-Button which sets

e.Cancel to true in the ExtractProgressEvent. When the extract process is started thereafter there are no files extracted at all.

I looked in the source code and found out that this is due to the fact that _extractOperationCanceled is never resetted.

Why is that so? Further operations must not always be canceled simply because one operation has been canceled before!

 

Does anyone have a solution to my problem?

 

Regards, Stefan

 

Coordinator
Nov 7, 2011 at 4:13 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Coordinator
Nov 7, 2011 at 4:13 PM

Sounds like a bug in DotNetZip.  I've filed a workitem, and we'll get that fixed.