Title:
Bug 82843:The CF9 Cumulative Hot Fix 1 introduces an issue in which attempting to manipulate an image, which uses an unconventional (or no) extension, results in an error
| View in TrackerStatus/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): / Paul S (Simbaleo)
Created: 05/11/2010
Components: CFIMAGE
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 / 274330
Priority/Frequency: Normal / Unknown
Locale/System: English / Mac 10 All
Vote Count: 0
Problem:
The CF9 Cumulative Hot Fix 1 introduces an issue in which attempting to manipulate an image, which uses an unconventional (or no) extension, results in an error.
Method:
- Upload an image using CFFILE and specify a temporary file extension. e.g. <CFFILE ACTION="upload" FILEFIELD="whatever" DESTINATION="/some/path/picture.img">- Try to access or process the uploaded file with CFIMAGE. e.g. <CFSET DoSomething = ImageNew("/some/path/picture.img")>Results in an error about the "img" format being unsupported. Obviously the format is being drawn from the file extension as of hotfix 1, rather than the actual file content. This is inconsistent with every implementation of CFIMAGE to date, and effectively breaks all common methods for batch upload and processing of images.
Result:
"The img image format is not supported"
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3041433
Deployment Phase: Release Candidate
External Customer Info:
External Company:
External Customer Name: Paul S
External Customer Email: 0CBD2FFD4BE9B8240A04B82B
External Test Config: 05/11/2010
Attachments:
Comments: