mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged HEAD-BUG-FIX (4.3/Cloud) to HEAD (4.3/Cloud)
64703: Fix ACE-987: NPE in NodeEntity during post-commit write through to shared cache - Query selecting specific root nodes was not fully populating the stored entity - The failure itself mainly occurs when a check is made to prevent duplication of cache transfers (the cached value is the same); once the cache has an entry, the error would not have occurred again. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@66181 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -34,7 +34,7 @@ import org.alfresco.util.Pair;
|
||||
* @author Derek Hulley
|
||||
* @since 3.4
|
||||
*/
|
||||
public class NodeEntity implements Node, PermissionCheckValue, Serializable
|
||||
public class NodeEntity implements Node, PermissionCheckValue, Serializable, Cloneable
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
private boolean locked;
|
||||
@@ -84,7 +84,13 @@ public class NodeEntity implements Node, PermissionCheckValue, Serializable
|
||||
this.transaction = node.getTransaction();
|
||||
this.auditableProperties = node.getAuditableProperties();
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public Object clone() throws CloneNotSupportedException
|
||||
{
|
||||
return super.clone();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode()
|
||||
{
|
||||
|
Reference in New Issue
Block a user