FIXED : ALF-11671: Repo thumbnails.get webscript throws errors when called against versioned content items

Now retains properties when copying.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32866 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gethin James
2011-12-19 16:46:14 +00:00
parent fb13db6c4c
commit 503b6c2016

View File

@@ -499,7 +499,7 @@ public class RenditionNodeManager
} }
// Copy over all regular properties from the temporary rendition // Copy over all regular properties from the temporary rendition
Map<QName, Serializable> newProps = new HashMap<QName, Serializable>(); Map<QName, Serializable> newProps = nodeService.getProperties(targetNode);
for(Entry<QName,Serializable> entry : nodeService.getProperties(tempRenditionNode).entrySet()) for(Entry<QName,Serializable> entry : nodeService.getProperties(tempRenditionNode).entrySet())
{ {
QName propKey = entry.getKey(); QName propKey = entry.getKey();