[teiid-issues] [JBoss JIRA] (TEIID-6018) jayway json processing logic returns single object values as just maps, not JSONObject

Steven Hawkins (Jira) issues at jboss.org
Thu Aug 13 19:03:00 EDT 2020


     [ https://issues.redhat.com/browse/TEIID-6018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the teiid-issues mailing list