Merge branch 'feature/APPS-591_UpdatesForACS7.0.0' of https://github.com/Alfresco/governance-services into feature/APPS-591_UpdatesForACS7.0.0

This commit is contained in:
rodicasutu
2020-12-03 21:42:15 +02:00

View File

@@ -238,7 +238,7 @@ public final class WebScriptUtils
try
{
value = jsonObject.get(key).toString();
value = jsonObject.getString(key);
if (checkValue && isBlank(value))
{
throw new WebScriptException(Status.STATUS_BAD_REQUEST, "The value is missing for the key '" + key + "'.");
@@ -413,7 +413,7 @@ public final class WebScriptUtils
mandatory("jsonObject", jsonObject);
mandatoryString("key", key);
JSONObject value = null;
JSONObject value;
try
{