From f254a2462e950b35954cc517d8f5a46cc52d3616 Mon Sep 17 00:00:00 2001 From: jcule Date: Tue, 29 May 2018 14:48:39 +0100 Subject: [PATCH] RM-6310: sc:securityMarksSearch is not properly updated when editing the content classification (affects the results from RM search results): fixed typo --- .../src/main/java/org/alfresco/rest/core/v0/BaseAPI.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rm-automation/rm-automation-community-rest-api/src/main/java/org/alfresco/rest/core/v0/BaseAPI.java b/rm-automation/rm-automation-community-rest-api/src/main/java/org/alfresco/rest/core/v0/BaseAPI.java index 82813b7556..6ab96e8c14 100644 --- a/rm-automation/rm-automation-community-rest-api/src/main/java/org/alfresco/rest/core/v0/BaseAPI.java +++ b/rm-automation/rm-automation-community-rest-api/src/main/java/org/alfresco/rest/core/v0/BaseAPI.java @@ -131,7 +131,7 @@ public abstract class BaseAPI */ protected String getPropertyValue(JSONObject result, String nodeRef, String propertyName) { - String propertValue = ""; + String propertyValue = ""; try { JSONArray items = result.getJSONArray("items"); @@ -140,7 +140,7 @@ public abstract class BaseAPI JSONObject item = items.getJSONObject(i); if(nodeRef.equals(item.getString("nodeRef"))) { - propertValue = item.getJSONObject("properties").getString(propertyName); + propertyValue = item.getJSONObject("properties").getString(propertyName); } } } @@ -149,7 +149,7 @@ public abstract class BaseAPI throw new RuntimeException("Unable to parse result", error); } - return propertValue; + return propertyValue; } /**