sprint-14: put json data into backend details

This commit is contained in:
Tim Chamberlain
2022-10-28 11:09:35 -05:00
parent 1cdb4b37e9
commit 662fefea19
4 changed files with 29 additions and 35 deletions

View File

@ -274,7 +274,8 @@ public class BaseAPIActionUtil
*******************************************************************************/
protected QRecord jsonObjectToRecord(JSONObject jsonObject, Map<String, QFieldMetaData> fields) throws IOException
{
QRecord record = JsonUtils.parseQRecordLenient(jsonObject, fields);
QRecord record = JsonUtils.parseQRecord(jsonObject, fields, true);
record.getBackendDetails().put(QRecord.BACKEND_DETAILS_TYPE_JSON_SOURCE_OBJECT, jsonObject.toString());
return (record);
}