Title:
ImageGetIPTCMetadata and ImageGetIPTCTag strips commas in fields with more than one value
| View in TrackerStatus/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Ernesto Rodriguez Ageitos / Ernesto Rodriguez Ageitos (Ernesto Rodriguez Ageitos)
Created: 11/15/2013
Components: CFIMAGE
Versions: 10.0
Failure Type:
Found In Build/Fixed In Build: Final /
Priority/Frequency: Normal / All users will encounter
Locale/System: English / Platforms All
Vote Count: 0
Problem Description:
When reading IPTC information from a jpg, if a IPTC field has more than one value, the information provided by ImageGetIPTCMetadata and ImageGetIPTCTag has a whitespace as separator instead of a comma, making different values indistinguible from values that contains whitespaces.
Steps to Reproduce:
Assuming that myImageFile is a jpg file with IPTC metada, one of which fields is "Keywords", with the values "landscape,blue,sky,new england".
<cfset myImage=imageRead(myImageFile)>
<cfset IPTC=ImageGetIPTCMetadata(myImage)>
<cfdump var="#IPTC#">
Actual Result:
landscape blue sky new england
Expected Result:
landscape,blue,sky,new england
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3669406
External Customer Info:
External Company:
External Customer Name: Ernesto RA
External Customer Email:
External Test Config: My Hardware and Environment details:
* Windows 7 64-bit, Apache 2, ColdFusion 10
* CentOS 64-bit, Apache 2, ColdFusion 10
Attachments:
- March 17, 2014 00:00:00: 1_FO004040504.jpg
Comments: