Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.0/Cloud)

87706: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
      87369: MNT-12196 : Exception generated in “AccessAuditor” when length of custom property string in Javascript is bigger than 1024 in Postgres database
         - Fixed build failure with JBPMWorkflowRestApiTest


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94545 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Alan Davis
2015-01-31 09:48:05 +00:00
parent 6be27f8033
commit 7b555931f1

View File

@@ -496,10 +496,10 @@ public class AuditComponentImpl implements AuditComponent
if (values instanceof Map<?, ?>)
{
// trim string audited value
Map<String, Serializable> map = ((Map<String, Serializable>) values);
for (Map.Entry<String, Serializable> entry : map.entrySet())
Map<String, Object> map = ((Map<String, Object>) values);
for (Map.Entry<String, Object> entry : map.entrySet())
{
Serializable auditValue = entry.getValue();
Object auditValue = entry.getValue();
// Trim strings
if (auditValue == null)
{