mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Further fix on HEAD following rev 30520: Revisited timestamp propagation (cm:modified)
- Added missing override of cm:auditable properties in 'touch' method git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30617 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1323,7 +1323,6 @@ public abstract class AbstractNodeDAOImpl implements NodeDAO, BatchingDAO
|
|||||||
* Updates the node's transaction and <b>cm:auditable</b> properties only.
|
* Updates the node's transaction and <b>cm:auditable</b> properties only.
|
||||||
*
|
*
|
||||||
* @param auditableProps optionally override the <b>cm:auditable</b> values
|
* @param auditableProps optionally override the <b>cm:auditable</b> values
|
||||||
* @param propagate should this update be propagated to parent audit properties?
|
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* @see #updateNodeImpl(NodeEntity, NodeUpdateEntity)
|
* @see #updateNodeImpl(NodeEntity, NodeUpdateEntity)
|
||||||
@@ -1343,6 +1342,7 @@ public abstract class AbstractNodeDAOImpl implements NodeDAO, BatchingDAO
|
|||||||
}
|
}
|
||||||
NodeUpdateEntity nodeUpdate = new NodeUpdateEntity();
|
NodeUpdateEntity nodeUpdate = new NodeUpdateEntity();
|
||||||
nodeUpdate.setId(nodeId);
|
nodeUpdate.setId(nodeId);
|
||||||
|
nodeUpdate.setAuditableProperties(auditableProps);
|
||||||
// Update it
|
// Update it
|
||||||
return updateNodeImpl(node, nodeUpdate);
|
return updateNodeImpl(node, nodeUpdate);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user