]
Steven Hawkins resolved TEIID-6018.
-----------------------------------
Fix Version/s: 14.0.2
Resolution: Done
Checked for a map in the method to produce the stringified json.
jayway json processing logic returns single object values as just
maps, not JSONObject
--------------------------------------------------------------------------------------
Key: TEIID-6018
URL:
https://issues.redhat.com/browse/TEIID-6018
Project: Teiid
Issue Type: Bug
Components: Query Engine
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Priority: Major
Fix For: 15.0.1, 14.0.2, 16.0
Original Estimate: 2 hours
Remaining Estimate: 2 hours
When a value is returned from the context read for arrays it's an instanceof
JSONArray. There was an expectation that for objects it was JSONObject. Instead it's
just a hashmap leading to an invalid string conversion.