Status/Resolution/Reason: Closed/Won't Fix/Workaround
Reporter/Name(from Bugbase): Tim Do / Tim Do (Tim Do)
Created: 08/24/2015
Components: File Management, CFFile
Versions: 11.0
Failure Type:
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Major / Most users will encounter
Locale/System: English / Windows 7 32 bit
Vote Count: 0
Problem Description:
We just updated to cf11 from cf9. Just found out that our uploader is no longer working. The files are uploading fine but the return variable is no longer present. I used to have a variable #serverfile# which returned me the renamed file that was uploaded in cf9. Now i get this error:
Element SERVERFILE is undefined in FILE.
Steps to Reproduce:
use cffile action="uploadall" and try to return file.serverfile
Actual Result:
Element SERVERFILE is undefined in CFFILE.
Expected Result:
name of uploaded file
Any Workarounds:
tried to scope with result and use result.serverfile without luck. tried to output only serverfile without scoping and i do see:
{UPLOADALL_RESULTS=[{CLIENTDIRECTORY={},CLIENTFILE={Mitchell_#23I_ Companion Animal.pdf},FILEWASAPPENDED={false},FILESIZE={1513328},CONTENTTYPE={application},SERVERFILE={Mitchell_#23I_ Companion Animal.pdf},CLIENTFILEEXT={pdf},TIMECREATED={{ts '2015-08-24 15:20:43'}},CONTENTSUBTYPE={octet-stream},FILEMODESET={false},FILEWASSAVED={true},OLDFILESIZE={1513328},SERVERFILENAME={Mitchell_#23I_ Companion Animal},FILEATTRIBSET={false},TIMELASTMODIFIED={{ts '2015-08-24 15:20:43'}},ATTEMPTEDSERVERFILE={Mitchell_#23I_ Companion Animal.pdf},DATELASTACCESSED={{d '2015-08-24'}},SERVERFILEEXT={pdf},FILEWASRENAMED={false},SERVERDIRECTORY={\\INSITECF\InSite_Data\iNCompliance_Files},FILEEXISTED={false},FILEWASOVERWRITTEN={false},CLIENTFILENAME={Mitchell_#23I_ Companion Animal}}], UPLOADALL_ERRORS=[]} for CFSQLTYPE CF_SQL_VARCHAR.
but i can't access any of these.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4042406
External Customer Info:
External Company:
External Customer Name: Tim
External Customer Email:
External Test Config: server 2012 r2
cf11
64bit
Attachments:
Comments: