OpenSearch/modules/lang-painless
Martijn van Groningen 364badd12e
Fix serialization bug in painless execute api request (#36075)
The `xContentType` was incorrectly serialized:
`xContentType.mediaTypeWithoutParameters()` was used to serialize, but
`xContentType.mediaType()` was used to de-serialize.

Also the serialization test class did not test `ContextSetup` well,
this was due to limitation in serialization test base class. Changed the
test class to manually test xcontent serialization, so that for both binary
and xcontent serialization tests, the `ContextSetup` is properly tested.

Closes #36050
2018-11-30 07:41:44 +01:00
..
licenses Upgrade Painless from ANTLR 4.5.1-1 to ANTLR 4.5.3. (#27153) 2017-10-27 11:07:49 -07:00
spi Scripting: Actually add joda time back to whitelist (#35965) 2018-11-27 15:18:00 -08:00
src Fix serialization bug in painless execute api request (#36075) 2018-11-30 07:41:44 +01:00
build.gradle NETWORKING:Def CName in Http Publish Addr to True (#33631) 2018-09-18 10:29:02 +02:00