mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fixed unreported issues with application of default values during NodeService.setType
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22969 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -639,7 +639,7 @@ public class DbNodeServiceImpl extends AbstractNodeServiceImpl
|
||||
}
|
||||
// Work out what is missing
|
||||
Map<QName, Serializable> missingProperties = new HashMap<QName, Serializable>(allDefaultProperties);
|
||||
missingProperties.entrySet().removeAll(existingProperties.entrySet());
|
||||
missingProperties.keySet().removeAll(existingProperties.keySet());
|
||||
// Done
|
||||
return missingProperties;
|
||||
}
|
||||
|
Reference in New Issue
Block a user