Status/Resolution/Reason: Closed/Withdrawn/CannotReproduce
Reporter/Name(from Bugbase): Raymond Camden / Raymond Camden (Raymond Camden)
Created: 10/06/2012
Components: REST Services
Versions: 10.0
Failure Type: Data Loss
Found In Build/Fixed In Build: Final /
Priority/Frequency: Trivial / Unknown
Locale/System: English / Mac 10.7 64-bit
Vote Count: 1
Take the OWS database from the CFWACK and use this simple query:
remote query function list() httpmethod="get" {
var q = new com.adobe.coldfusion.query();
q.setDatasource("ows");
q.setSQL("select movietitle, pitchtext, amountbudgeted, summary, imagename, dateintheaters from films order by movietitle asc");
var results = q.execute().getResult();
return results;
}
When I run this via REST and ask for XML, I get an error because a character is not escaped:
falls for his fianc?'s
It's probably a high ascii character in the database. But it should be handled by ColdFusion natively when serializing to XML.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3342124
External Customer Info:
External Company:
External Customer Name: cfjedimaster
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: