mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
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:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user