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:
Derek Hulley
2011-09-19 19:45:30 +00:00
parent d88dc0f100
commit a87c7cb605

View File

@@ -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);
} }