Title: 
  [ANeff] Bug for: <cfzip action="zip" recurse="yes" storepath="no"> does not recurse
| View in TrackerStatus/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)
Created: 11/05/2014
Components: File Management, CFZip
Versions: 11.0
Failure Type: Data Loss
Found In Build/Fixed In Build: CF11_Final / CF11 Update5
Priority/Frequency: Critical / Some users will encounter
Locale/System: English / Win All
Vote Count: 0
<cfzip action="zip" recurse="yes" storepath="no"> does not recurse
Repro:
<cfscript>
  if(!directoryExists(expandPath('./cfzip_source'))) {
	  directoryCreate(expandPath('./cfzip_source'));
  }
  if(!directoryExists(expandPath('./cfzip_source/subdir'))) {
	  directoryCreate(expandPath('./cfzip_source/subdir'));
  }
  if(!fileExists(expandPath('./cfzip_source/file1.txt'))) {
	  fileWrite(expandPath('./cfzip_source/file1.txt'), "file 1");
  }
  if(!fileExists(expandPath('./cfzip_source/subdir/file2.txt'))) {
	  fileWrite(expandPath('./cfzip_source/subdir/file2.txt'), "file 2");
  }
  if(fileExists(expandPath('./myzip.zip'))) {
	  fileDelete(expandPath('./myzip.zip'));
  }
</cfscript>
<cfzip source="#expandPath('./cfzip_source')#" file="#expandPath('./myzip.zip')#" storepath="no" />
<cfzip action="list" name="q" file="#expandPath('./myzip.zip')#" showdirectory="yes" />
<cfdump var="#q#" />
Actual result: Dumps a 1-row query containing the file1.txt file.
Expected result: Dumps a 3-row query containing the file1.txt and file2.txt files and the subdir directory.
Related ticket: 3795400.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID:	3848011
External Customer Info:
External Company:  
External Customer Name: itisdesign
External Customer Email:
  Attachments:
Comments: