Fixed
Details
Assignee
Michael OffnerMichael OffnerReporter
Harry KleinHarry KleinPriority
NewFix versions
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Affects versions
Details
Details
Assignee
Michael Offner
Michael OffnerReporter
Harry Klein
Harry KleinPriority
Fix versions
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Affects versions
Created 15 July 2016 at 11:24
Updated 5 July 2023 at 16:04
Resolved 18 July 2016 at 15:53
Please install Elasticsearch 1.7.2 first.
Change the IP adress in the testcase.
You should get a "Bad request" error:
{"error":"ElasticsearchParseException[failed to parse source for create index]; nested: JsonParseException[Invalid UTF-8 middle byte 0xf6\n at [Source: [B@5a31f88b; line: 1, column: 12]]; ","status":400}
Wokarounds:
Save the testfile as UTF-8 file (whitout BOM)
Uncomment the line
<cfset sPayload = createObject("java", "org.apache.http.entity.StringEntity").init(sPayload, "utf-8")>