CF10 expandPath() not reliable?
Hi all,
after our upgrade to CF10 (problems described under Server Administration) we are now facing another issue.
The result of expandPath() seems to be unreliable.
Assume this Code:
<cfif fileExists(expandpath("#application["photoPath"]#/thumbs/#photos.filename#"))>
<cfset spreadsheetAddImage(xls,expandpath("#application["photoPath"]#/thumbs/#photos.filename#"),"#get.currentrow + 1#,7,#get.currentrow + 1#,8")>
</cfif>
I'm now sometimes getting errors, that spreadsheetAddImage could not find the file.
This should not be the case, since this function is packet into an cfif where the existence of that file is checked.
Secondly, the file he is searching is located at /opt/coldfusion10/cfusion/wwwroot/photos/thumbs/filename.jpg instead of /srv/www/sitename/photos/thumbs/filename.jpg
Anyone ran into that?
Best Regards
Joerg
