mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-1878 (Audit: Create person event displays a wrong text and link)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@95684 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1410,11 +1410,12 @@ public class RecordsManagementAuditServiceImpl extends AbstractLifecycleBean
|
||||
json.put("fullName", entry.getFullName() == null ? "": entry.getFullName());
|
||||
json.put("nodeRef", entry.getNodeRef() == null ? "": entry.getNodeRef());
|
||||
|
||||
if (entry.getEvent().equals("createPerson") && entry.getNodeRef() != null)
|
||||
if (entry.getEvent().equals("Create Person") && entry.getNodeRef() != null)
|
||||
{
|
||||
NodeRef nodeRef = entry.getNodeRef();
|
||||
String userName = (String)nodeService.getProperty(nodeRef, ContentModel.PROP_USERNAME);
|
||||
json.put("nodeName", userName == null ? "": userName);
|
||||
json.put("createPerson", true);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user